Fixed-Point Blockset    
Repeating Sequence Stair

Output and repeat the discrete time sequence

Library

Sources

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

Vector of output values
Vector containing values of the repeating stair sequence.
Sample time
Sample time.
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
Any data type supported by the blockset.
Output scaling
Slope or [Slope Bias] scaling.
Lock output scaling so autoscaling tool can't change it
If the box is selected, output scaling is locked.
Output scaling
Select the scaling method using the specified scaling or using the best precision.

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