Name

rem (Matlab function) — Remainder after division

Matlab/Scilab equivalent

Matlab Scilab
rem(X,Y)
X-fix(X./Y).*Y