This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Sawtooth Generator

Generate sawtooth waveform at regular intervals


Control and Measurements/Pulse & Signal Generators


The Sawtooth Generator block generates a sawtooth waveform, with peak amplitude of +/−1, at regular intervals. The figure shows how the Frequency and Phase block parameters affect the output waveform.


Frequency (Hz)

Specify the frequency of the sawtooth waveform, in hertz. Default is 1e3.

Phase (degrees)

Specify the delay of the sawtooth waveform, in degrees. When the phase is set to 0, the waveform starts with an amplitude of −1 and a positive slope. Default is 180.

Sample time

Specify the sample time of the block, in seconds. Set to 0 to implement a continuous block. Default is 0.


Sample TimeSpecified in the Sample Time parameter
Continuous if Sample Time = 0
Scalar ExpansionNo
Zero-Crossing DetectionNo


The power_SignalGenerators example shows various uses of the Sawtooth Generator block.

Introduced in R2013a

Was this topic helpful?