Signal Processing Toolbox | ![]() ![]() |
Common Periodic Waveforms
The toolbox provides functions for generating widely used periodic waveforms:
sawtooth
generates a sawtooth wave with peaks at ±1 and a period of width
parameter specifies a fractional multiple of
square
generates a square wave with a period of To generate 1.5 seconds of a 50 Hz sawtooth wave with a sample rate of 10 kHz and plot 0.2 seconds of the generated waveform, use
![]() | Multichannel Signals | Common Aperiodic Waveforms | ![]() |
© 1994-2005 The MathWorks, Inc.