mod

mod(X,Y) returns the remainder after division of X by Y.

Examples

> mod(5,3)

[ans:2]

See also

rem