Fixed-Point Blockset | ![]() ![]() |
Delay a scalar signal multiple sample periods and output all the delayed versions
Library
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.
Parameters and Dialog Box
Conversions
The Initial condition parameter is converted from a double to the input data type offline using round-to-nearest and saturation.
Characteristics
Input Port |
Any data type supported by the blockset |
Output Port |
Same as the input |
Direct Feedthrough |
No |
Scalar Expansion |
Yes--of initial conditions |
![]() | Switch | Unary Minus | ![]() |