Engee documentation

Repeating Sequence

Generator of a periodic signal of arbitrary shape.

blockType: Repeating table

Path in the library:

/Basic/Sources/Repeating Sequence

Description

Block Repeating Sequence generates a periodic scalar signal, the shape of which is set by the parameters Time values and Output values. Parameter Time values sets the vector of time points, the parameter Output values — the vector of signal amplitudes at these moments. Together, these two parameters determine the shape of the output signal and its period.

By default, both parameters are [0,2]. These settings By default define a sawtooth waveform that repeats every 2 seconds since 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

Float64.

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

[0,2]

Program usage name

rep_seq_t

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

[0,2]

Program usage name

rep_seq_y

Tunable

Yes

Evaluatable

Yes