r = rem(x,y)
rem(x,y)
is x-n.*y
, where n = fix(x./y)
is the integer part of the quotient, x./y
. For matrices, this function operates element-by-element.
ceil
,exp
,fix
,floor
,log
,round
,sign
(c) Copyright 1994 by The MathWorks, Inc.