Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Remainder after division (modulo operation)

`b = mod(a,m)`

[1] Knuth, Donald E. *The Art of Computer Programming*.
Vol. 1. Addison Wesley, 1997 pp.39–40.

Was this topic helpful?