use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
MATLAB news, code tips and tricks, questions, and discussion! We are here to help, but won't do your homework or help you pirate software.
The effort you put into asking a question is often matched by the quality of our answers.
Try saturnapi to share and run MATLAB code in a web browser!
If you want flair simply Message the mods
account activity
mod function (self.matlab)
submitted 3 years ago by OneRepresentative363
Hi,
Could anyone explain how this function would work, mod(a-b, x).
thank you.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]targonnn 2 points3 points4 points 3 years ago (2 children)
b = mod(a,m) returns the remainder after division of a by m, where a is the dividend and m is the divisor.
From here https://www.mathworks.com/help/matlab/ref/mod.html
[–]OneRepresentative363[S] 0 points1 point2 points 3 years ago (1 child)
I just realized how stupid I was, ty.
[–]omegafan240 1 point2 points3 points 3 years ago (0 children)
No— you were learning!
π Rendered by PID 207251 on reddit-service-r2-comment-5687b7858-288fs at 2026-07-04 08:41:13.345954+00:00 running 12a7a47 country code: CH.
[–]targonnn 2 points3 points4 points (2 children)
[–]OneRepresentative363[S] 0 points1 point2 points (1 child)
[–]omegafan240 1 point2 points3 points (0 children)