<< minus | Elementary functions | ndgrid >> |
C = mod(A, B) |
a variable: dividend
a variable: divisor
result of mod(A, B)
C = mod(A, B) computes the modulo of A and B, i.e : A - B .* floor (A ./ B).
This function manages also negative values.
mod (-1, 3)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET