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


Scilab 20-03-19, 1:54 p.m. raghu7862

In scilab, you can use the modulo or the pmodulo function. E.g.:

 ans  =
 ans  =
    2.  - 2.    1.2  
 ans  =
    2.    3.    1.2  

13-08-19, 10:28 a.m. sunilshetye
Yeah, that's what I thought, too. Thanks for answering! 

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

definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog!
io games - games - y8 - kizi
27-05-21, 3:22 p.m. hokegi

It always gives a non-negative value of any number or variable. Try here in hardwood floor sanding seattle
12-07-21, 8:18 p.m. lorrielsims

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also Minecraft Classic
17-09-21, 2:05 p.m. gmmelissa

Log-in to answer to this question.