Y = sawtooth(T)
Y = sawtooth(T, width)
| Parameter | Description |
|---|---|
| T | time values in radians. |
| width | fraction of period spent rising. |
| Parameter | Description |
|---|---|
| Y | waveform values. |
sawtooth generates a periodic ramp between -1 and 1.
y = sawtooth(0:0.1:2*pi);
| Version | Description |
|---|---|
| 2.0.0 | initial version |