FUNCTION REFERENCE
sawtooth
Sawtooth wave.
Sawtooth wave.
Syntax
sawtooth(t)Syntax
sawtooth(t, width)Period is 2*pi. width is a scalar from 0 to 1 and sets where the peak occurs (default 1).
Example
sawtooth(pi/2) % -0.5Differences from MATLAB: Real double 2-D arrays only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.