|Download Help (Windows Only)|
Owning Class: waveform generation
Requires: MathScript RT Module
s = sawtooth(t)
s = sawtooth(t, w)
Generates a sawtooth wave with period 2*pi.
|t||Specifies the times at which to plot data for the sawtooth wave. t is a vector.|
|w||Specifies the fraction of the wave period at which the maximum of the sawtooth wave occurs. w is a scalar between 0 and 1. The default is 1.|
|s||Returns the sawtooth wave at times t with period 2*pi. s is a vector.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
X = 0:0.01:6*pi;
Y = sawtooth(X, 0.5);