|
|
| Vector | C | ST | |
in the palette |
on the schematic |
The block implements the operation of selecting a fractional part of the input signal. The fractional part means the difference between the signal and its integer part. The fractional part of a positive number is non-negative and the fractional part of a negative number is non-positive (see figure):
Рисунок 1. Demonstration of the block operation
Algorithm for calculating the fractional part of the number:
where
y(
t) is the output signal,
u(
t) is the input signal of the block. In the case of a vector input signal, the block implements the operation of selecting a fractional part of each of the elements of the input vector value.
Outputs
- output - output processed signal.
Прим.: dimension of the output signal is always equal to the dimension of the input signal.