Simulink Reference Previous page   Next Page
Repeating Sequence Stair

Output and repeat the 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.

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:

Vector of output values
Vector containing values of the repeating stair sequence.
Sample time (-1 for inherited)
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 data types pane of the Repeating Sequence Stair block dialog appears as follows:

Output data type and scaling
Specify the output data type and scaling via the dialog box, or by inheriting the data type and scaling by backpropagation.
Output data type
Specify any data type supported by the blockset.

Characteristics

Sample Time
Specified in the Sample time parameter
Scalar Expansion
No

See Also

Repeating Sequence, Repeating Sequence Interpolated


Previous page  Repeating Sequence Interpolated Reshape Next page

© 1994-2005 The MathWorks, Inc.