Fractional part

| 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.

Inputs

  • input - input signal.

Outputs

  • output - output processed signal.

Properties:

none

Parameters

none

Прим.: dimension of the output signal is always equal to the dimension of the input signal.