| Simulink Reference | ![]() |
Output and repeat the discrete time sequence
Library
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.

You can specify the sample time with the Sample time parameter.
You can select the output data type and scaling with the Output data type and scaling parameter, and set the output data type with the Output data type parameter.
For fixed-point data types, you can set the output scaling with the Output scaling parameter, and, below that parameter, select the method for scaling the output with the Output scaling parameter.
Data Type Support
The Repeating Sequence Stair block accepts signals of any data type supported by Simulink, including fixed-point data types.
Parameters and Dialog Box
The Main pane of the Repeating Sequence Stair block dialog appears as follows:
-1. See Specifying Sample Time in the online documentation for more information.
The Signal data types pane of the Repeating Sequence Stair block dialog appears as follows:
Characteristics
| Sample Time |
Specified in the Sample time parameter |
| Scalar Expansion |
No |
See Also
Repeating Sequence, Repeating Sequence Interpolated
| Repeating Sequence Interpolated | Reshape | ![]() |
© 1994-2005 The MathWorks, Inc.