rem(x,y):求整除x/y的余数

mod(x,y):求模

rem(x,y)=x-y.*fix(x./y);  (fix()向0取整)

mod(x,y)=x-y.*floor(x./y); (floor()向左取整) 更多