👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

How to compute modulo operation (remainder after division) with MATLAB?

The MATLAB modulo function mod(n,d) returns the remainder after the division of n by d:

>>> mod(24,5)
4

More