command line for "mod" or "rem"?
Posted: Mon Mar 25, 2013 9:10 pm
This post may win the "most pedestrian" award. I'd like to add a curve to a plot of the form f(mod(t,period)) and I don't see a command equivalent to "mod" (or "rem") in the programmer's reference. The following works as a substitute:
atan2(sin(t*2*PI/period),cos(t*2*PI/period))
but that is a lot to type into the "plot what" dialog window, when all I really want is "mod(t,period)". Suggestions?
atan2(sin(t*2*PI/period),cos(t*2*PI/period))
but that is a lot to type into the "plot what" dialog window, when all I really want is "mod(t,period)". Suggestions?