| Simulink® | ![]() |
Output discrete-time sequence and repeat, interpolating between data points
Sources

The Repeating Sequence Interpolated block outputs a discrete-time sequence and then repeats it. Between data points, the block uses the method specified by the Lookup Method parameter to determine the output.
The Repeating Sequence Interpolated block accepts signals of any data type supported by Simulink® software, including fixed-point data types.
The Main pane of the Repeating Sequence Interpolated block dialog appears as follows:

Column vector containing output values of the discrete time sequence.
Column vector containing time values. The time values must be a strictly increasing and the vector must have the same size as the vector of output values.
Specify the lookup method to determine the output between data points.
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 Interpolated block dialog appears as follows:

Specify the minimum value that the block should output. The default value, [], is equivalent to -Inf. Simulink software uses this value to perform:
Parameter range checking (see Checking Parameter Values)
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Specify the maximum value that the block should output. The default value, [], is equivalent to Inf. Simulink software uses this value to perform:
Parameter range checking (see Checking Parameter Values)
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Specify the output data type. You can set it to:
A rule that inherits a data type, for example, Inherit: Inherit via back propagation
The name of a built-in data type, for example, single
The name of a data type object, for example, a Simulink.NumericType object
An expression that evaluates to a data type, for example, float('single')
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.
Select to lock scaling of outputs. This parameter is visible only if you enter an expression for the Output data type parameter.
Sample Time | Specified in the Sample time parameter |
Scalar Expansion | Yes |
Repeating Sequence, Repeating Sequence Stair
![]() | Repeating Sequence | Repeating Sequence Stair | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |