Skip to Main Content Skip to Search
Product Documentation

Repeating Sequence Interpolated - Output discrete-time sequence and repeat, interpolating between data points

Library

Sources

Description

The Repeating Sequence Interpolated block outputs a discrete-time sequence and then repeats it. Between data points, the block uses the method you specify for the Lookup Method parameter to determine the output.

Data Type Support

The Repeating Sequence Interpolated block outputs signals of the following data types:

For more information, see Data Types Supported by Simulink in the Simulink documentation.

Parameters and Dialog Box

The Main pane of the Repeating Sequence Interpolated block dialog box appears as follows:

Vector of output values

Specify the column vector containing output values of the discrete time sequence.

Vector of time values

Specify the column vector containing time values. The time values must be strictly increasing, and the vector must have the same size as the vector of output values.

Lookup Method

Specify the lookup method to determine the output between data points.

Sample time

Specify the time interval between samples. To inherit the sample time, set this parameter to -1. See How to Specify the Sample Time in the Simulink User's Guide for more information.

The Signal Attributes pane of the Repeating Sequence Interpolated block dialog box appears as follows:

Output minimum

Specify the minimum value that the block should output. The default value is [] (unspecified). Simulink software uses this value to perform:

Output maximum

Specify the maximum value that the block should output. The default value is [] (unspecified). Simulink software uses this value to perform:

Output data type

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, fixdt(1,16,0)

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.

Lock output data type setting against changes by the fixed-point tools

Select to lock the output data type setting of this block against changes by the Fixed-Point Tool and the Fixed-Point Advisor. For more information, see Fixed-Point Tool and Fixed-Point Advisor in the Simulink Fixed Point documentation.

Characteristics

Sample Time

Specified in the Sample time parameter

Scalar Expansion

Yes

Zero-Crossing Detection

No

See Also

Repeating Sequence, Repeating Sequence Stair

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS