Scicos Block
fr - eng

Float modulob function block





This block is a non linear function modulo where the input and output are real values. According to the parameters 'Amplitude', the output can't overflow the minimun and the maximun value of 'Amplitude'.
This block computes

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

where 'm' is the value of 'Amplitude', 'u' the input and 'y' the output. This function is similar to the scilab 'modulo' function.
The value of the output is positive or zero.
Figure 1: Positive float modulo function

Dialog box


Default properties

Interfacing function

Computational function

See also


A. Layec