tdelay

Navigation:  Language Reference > Functions > Arithmetic >

tdelay

Previous pageReturn to chapter overviewNext page

Syntax

y = tdelay(x,delaytime);

Description

Returns the (continuous) signal x delayed for an absolute time (given by delaytime). The initial value of y for time = 0 to delaytime is equal to zero. This block is intended to model a continuous delay in a continuous simulation. Use the Unit Delay block to model a digital delay.

Examples

x = 10*sin(time*10);

y = tdelay(x,2);

Limitations

x,y and delaytime must be scalars. delaytime must be a positive constant value.