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).

    VariableDelay

Library

Activate/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

VariableDelay_0

NameLabelDescriptionData TypeValid Values

T

Maximum delay

The maximum allowable delay. The value must be non-negative.

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'
'Transport'

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

The signal to be delayed.

input

1

τ

explicit

input

2

Port 3

explicit

Delayed signal.

output

1

Advanced Properties

NameValueDescription

always active

yes

direct-feedthrough

no

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

See Also

<