Scicos Block
fr - eng

Float modulo function block





This block is a non linear function modulo where the input and output are real values. According to the parameter 'Amplitude', the output can't overflow the minimun -(m+%eps) and the maximun m, where m is the value of 'Amplitude'/2.
This block computes

y=F\left(u\right)=u-\dfrac{1}{2}m-m {\rm floor}\left(\dfrac{u-\dfrac{1}{2}m}{m}\right)-\dfrac{1}{2}m,

where 'm' is the value of 'Amplitude'/2, 'u' the input and 'y' the output.
The value of the output are negative, positive or zero.
Figure 1: Float modulo function

Dialog box


Default properties

Interfacing function

Computational function

See also


A. Layec