Question: what is x mod y?
Answer: Definition. mod(x,y) is x mod y. M = mod(X,Y) returns the remainder X - Y. *floor(X./Y) for nonzero Y , and returns X otherwise. mod(X,Y) always differs from X by a multiple of Y .