Engee documentation

Repeating Sequence

A generator of a periodic signal of arbitrary shape.

repeating sequence

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.

Ports

Output

Port_1 - output signal
scalar | vector

Output signal defined by the Time values and Output values parameters.

Data types: Float64.

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.

Usage in program code

Block parameter

rep_seq_t

Value

vector

By default

[0 2]

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.

Usage in program code

Block parameter

rep_seq_y

Value

vector

By default

[0 2]