Fixed-Point Blockset | ![]() ![]() |
Output and repeat the discrete time sequence
Library
Description
The Repeating Sequence Stair block is a masked block that 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.
For a detailed description of all block parameters, refer to "Block Parameters" on page 9-4. For more information about converting from one Fixed-Point Blockset data type to another, refer to "Signal Conversions" on page 4-26.
Parameters and Dialog Box
Characteristics
Output Port |
Any data type supported by the blockset |
Scalar Expansion |
No |
Vectorized |
No |
See Also
Repeating Sequence Interpolated
![]() | Repeating Sequence Interpolated | Sample Rate Probe | ![]() |