Engee documentation

Repeating Sequence Stair

A discrete periodic signal generator.

blockType: RepeatingSequenceStair

Path in the library:

/Basic/Sources/Repeating Sequence Stair

Description

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

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