Engee documentation

Repeating Sequence Stair

A discrete periodic signal generator.

repeating sequence stair

Description

The Repeating Sequence Stair block outputs and repeats the sequence of values specified by the Vector of output values parameter. For example, you can specify a vector as [3, 1, 4, 2, 1]. The values for Vector of output values are output at each calculation step, and then the sequence is repeated.

repeating sequence stair 1

Ports

Output

Port_1 - output signal
scalar

Output signal generated on the basis of Vector of time values and Sample time parameters.

Data types: Float64.

Parameters

Vector of output values - vector of output values
[3, 1, 4, 2, 1] (by default) | vector

Vector of values of a repeating sequence.

Usage in program code

Block parameter

OutValues

Value

vector

By default

[3, 1, 4, 2, 1]

Sample time - interval between calculation steps
-1 (by default) | scalar

Time interval between calculation steps. To inherit a calculation step, set this parameter to −1.

Usage in program code

Block parameter

tsamp

Value

scalar

By default

-1

Additional options

C code generation: Yes