could somebody help me with this problem for Matlab:
I have a number 8 as a limit and want that I just get numbers in range from 1 to 8, how can I do it?
in MaxMsp this function is called “mod” so if I have mod8 than it will count until 8 and when 9 comes up it will output 1 again, 10 will be 2, 11 will be 3, 12 will be 4 etc.
this must be very simple but I just cannot find it in help.
Thanks
You probably want the
mod()function: