Repeating Sequence
A generator of a periodic signal of arbitrary shape.
blockType: Repeating table
Path in the library:
|
Description
Block Repeating Sequence generates a periodic scalar signal, the shape of which is set by parameters Time values and Output values. Parameters Time values defines a vector of time moments, parameter Output values defines a vector of signal amplitudes at these moments. Together these two parameters determine 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
.
Ports
Output
#
OUT_1
—
output signal
scalar
| vector
Details
Output signal defined by the parameters Time values and Output values.
Data types |
|
Complex numbers support |
No |
Parameters
Main
#
Time values —
time values
Vector of real numbers
Details
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 parameters.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Output values —
output values
Vector of real numbers / vector of arrays of real numbers
Details
A vector of output values that specify the output waveform. Each element corresponds to a time value in the parameters Time values.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |