

MODULUS in XCOS
Hi,
Can someone help me with modulus Math function. In Simulink using Math Function --> Mod, one can calculate Modulus of two inputs. How to do the same in Xcos (Scilab). Please advise.
Thank you
Raghu
Scilab


In scilab, you can use the modulo or the pmodulo function. E.g.:
-->modulo(7,5) ans = 2. -->modulo([7,-7,1.2],5) ans = 2. - 2. 1.2 -->pmodulo([7,-7,1.2],5) ans = 2. 3. 1.2
05-09-19, 12:27 p.m. kaypowers
This can be a great solution, I appreciate those who share beautifully like you, thank you.
basketball legends fun
08-09-20, 12:12 p.m. franciscomwatson
Login to add comment