VariableDelay
This block delays the signal on the first input port. The amount of delay varies in time and is either given directly by the signal on the second input (regular delay), or its integral (transport delay).
Library
Dynamical
Description
The VariableDelay block delays the signal on the first input port. The amount of delay varies in time and is either given directly by the signal on the second input (regular delay), or its integral (transport delay).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
T | Maximum delay | Matrix | ||
init | Initial output | Real value. The output generated by the block until the simulation time first exceeds the time delay input (the second input). Initial output value can be a cell composed of a time vector and an initial value matrix. Here is an example of a vector initial output value: {[-3,-2,-1],[4,5,1]} where the first element of the cell is the time vector and the second element is the initial output matrix. If the initial output data is a matrix, output data matrices at differenet time instants concatenated. For example in {[-3,-2,-1],[4,5,1,3,7,6]} the value of output when the delay is 3 second is [4,5]. | ||
N | Buffer size | Integer value. The number of points the block can store. | Scalar | |
dtype | Variable delay type | String. Either Time (delay is the time delay input signal) or Transport (delay is the integral of the time delay input signal) delays are supported by this block. | String | 'Time' |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | The signal to be delayed. | input | 1 |
Ο | explicit | input | 2 | |
Port 3 | explicit | Delayed signal. | output | 1 |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | yes | |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |