r = rem(a
,b
)
returns the remainder after division of a
by b
, where a
is the dividend and b
is the divisor.b = mod(a
,m
)
returns the remainder after division of a
by m
, where a
is the dividend and m
is the divisor. This function is often called the modulo operation and is computed using b = a - m.*floor(a./m)
. The mod
function follows the convention that mod(a,0)
returns a
.Click Here To Watch Video...!
No comments:
Post a Comment