Repeating Sequence Stair - Output and repeat discrete time sequence

Library

Sources

Description

The Repeating Sequence Stair block outputs and repeats a discrete time sequence.

You can specify the stair sequence with the Vector of output values parameter. For example, the vector can be specified as [3 1 2 4 1]', producing the stair sequence shown in the plot.

Data Type Support

The Repeating Sequence Stair block accepts signals of any data type supported by Simulink® software, including fixed-point data types.

Parameters and Dialog Box

The Main pane of the Repeating Sequence Stair block dialog appears as follows:

Vector of output values

Vector containing values of the repeating stair sequence.

Sample time

Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See Specifying Sample Time in the online documentation for more information.

The Signal Attributes pane of the Repeating Sequence Stair block dialog appears as follows:

Output minimum

Specify the minimum value that the block should output. The default value, [], is equivalent to -Inf. Simulink software uses this value to perform:

Output maximum

Specify the maximum value that the block should output. The default value, [], is equivalent to Inf. Simulink software uses this value to perform:

Output data type

Specify the output data type. You can set it to:

Click the Show data type assistant button to display the Data Type Assistant, which helps you set the Output data type parameter.

See Specifying Block Output Data Types for more information.

Lock output scaling against changes by the autoscaling tool

Select to lock scaling of outputs. This parameter is visible only if you enter an expression for the Output data type parameter.

Characteristics

Sample Time

Specified in the Sample time parameter

Scalar Expansion

No

See Also

Repeating Sequence, Repeating Sequence Interpolated

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS