mod
- :
r =mod(x, y)¶ Modulus after floor division:
x - floor (x ./ y) .* y, with the sign of y.mod (x, 0)is x. Integer operands use integer arithmetic and the integer class; logical and character operands are treated as double.
modr = mod (x, y) ¶Modulus after floor division: x - floor (x ./
y) .* y, with the sign of y. mod (x, 0)
is x. Integer operands use integer arithmetic and the integer
class; logical and character operands are treated as double.