Repeating Sequence
A generator of a periodic signal of arbitrary shape.
Description
The Repeating Sequence block generates a periodic scalar signal, the form of which is specified by the Time values and Output values parameters. The Time values parameter defines a vector of time moments, the Output values parameter defines a vector of signal amplitudes at these moments. Together these two parameters define the output signal shape and its period.
By default, both parameters are [0 2]
. These settings by default define a sawtooth waveform that repeats every 2
seconds from the start of the simulation and has a maximum amplitude of 2
.
Parameters
Time values - time values
[0 2] (by default)
| vector
A vector of strictly monotonically increasing time values. The period of the generated signal is the difference between the last and the first values of this parameter.
Block parameter |
|
Value |
|
By default |
|
Output values - output values
[0 2] (By default)
| vector
A vector of output values that specify the shape of the output signal. Each element corresponds to a time value in the Time values parameter.
Block parameter |
|
Value |
|
By default |
|