<< RFILE_f Sources palette STEP_FUNCTION >>

Scilab Help >> Xcos > palettes > Sources palette > SAWTOOTH_f

SAWTOOTH_f

Sawtooth generator

Block Screenshot

Contents

Description

This block is a sawtooth wave generator. The output of the block is described by the equation:

At first event on its activation input, the output increases linearly from 0 with a unitary rate. When the following event occurs, the output goes to 0 and begin again to increase until the next event and so on.

The resulting amplitude of the output is equal to the period of event signal. If you want more control on the amplitude or a negative rate, use the Sigbuilder or Curve_f blocks.

Data types

Default properties

Example

This diagram shows the output of the SAWTOOTH_f block with an event period of 2 seconds and an offset of 1 second on event generation.

Interfacing function

Computational function

See also


Report an issue
<< RFILE_f Sources palette STEP_FUNCTION >>