MATLAB: Diffrence between rem and mod

basicmodremsimple

mod(4,-10)
ans =
-6
>> rem(4,-10)
ans =
4
guys could you tell me in simple language whats is diffrence between two huh i know mod take the second number symbol but i didnt get the real math out of it

Best Answer

The discussion in the documentation is here.
Related Question