Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
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 ouput goes to 0 and begin again to increase until the next event and so on.
Output: scalar double.
always active: yes
- port 1 : size [1,1] / type 1
number/sizes of activation inputs: 1
number/sizes of activation outputs: 0
continuous-time state: no
discrete-time state: yes
object discrete-time state: no
name of computational function: sawtth
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. Open this example in Xcos
SCI/modules/scicos_blocks/src/fortran/sawtth.f (Type 0)
Ramine Nikoukhah - INRIA