Simulink Reference Previous page   Next Page
Tapped Delay

Delay a scalar signal multiple sample periods and output all the delayed versions

Library

Discrete

Description

The Tapped Delay block delays its input by the specified number of sample periods, and outputs all the delayed versions.

This block provides a mechanism for discretizing a signal in time, or resampling the signal at a different rate. You specify the time between samples with the Sample time parameter. You specify the number of delays with the Number of delays parameter. A value of -1 instructs the block to inherit the number of delays by backpropagation. Each delay is equivalent to the z-1 discrete-time operator, which is represented by the Unit Delay block.

The block accepts one scalar input and generates an output for each delay. The input must be a scalar. You specify the order of the output vector with the Order output vector starting with parameter list. Oldest orders the output vector starting with the oldest delay version and ending with the newest delay version. Newest orders the output vector starting with the newest delay version and ending with the oldest delay version.

The block output for the first sampling period is specified by the Initial condition parameter. Careful selection of this parameter can minimize unwanted output behavior.

Data Type Support

The Tapped Delay block accepts signals of any data type supported by Simulink, including fixed-point data types.

Parameters and Dialog Box

Initial condition
Specify the initial output of the simulation. The Initial condition parameter is converted from a double to the input data type offline using round-to-nearest and saturation. Simulink does not allow you to set the initial condition of this block to inf or NaN.
Sample time
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.
Number of delays
Specify the number of discrete-time operators.
Order output vector starting with
Specify whether the oldest delay version is output first, or the newest delay version is output first.
Include current input in output vector
Select to include the current input in the output vector.

Characteristics

Direct Feedthrough
Yes, when Include current input in output vector parameter is checked. No otherwise.
Sample Time
Specified in the Sample time parameter
Scalar Expansion
Yes, of initial conditions


Previous page  Switch Case Action Subsystem Terminator Next page

© 1994-2005 The MathWorks, Inc.