Engee documentation

Repeating Sequence Stair

A discrete periodic signal generator.

blockType: RepeatingSequenceStair

Path in the library:

/Basic/Sources/Repeating Sequence Stair

Description

The block Repeating Sequence Stair outputs and repeats the sequence of values specified by the parameters Vector of output values. 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

# OUT_1 — output signal
scalar | vector

Details

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

Data types

Float64.

Complex numbers support

No

Parameters

Main

# Sample time — interval between calculation steps
SampleTime (real number / vector of two real numbers)

Details

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

Default value

-1

Program usage name

tsamp

Tunable

No

Evaluatable

Yes

# Vector of output values — vector of output values
Real number / vector of real numbers / vector of arrays of real numbers

Details

A vector of values of a repeating sequence.

Default value

[3, 1, 4, 2, 1]

Program usage name

OutValues

Tunable

Yes

Evaluatable

Yes

Additional options

C code generation: Yes