Time Delay

Navigation:  Language Reference > Functions > Arithmetic >

Time Delay

Previous pageReturn to chapter overviewNext page


y = tdelay(x,delaytime);


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.


x = 10*sin(time*10);

y = tdelay(x,2);


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