Unit Delay

Navigation:  Language Reference > Functions > Arithmetic >

Unit Delay

Previous pageReturn to chapter overviewNext page

Syntax

y = dly(x,init);

Description

y is equal to the value of x, one simulation-time step delayed. The initial value of y is equal to init

Example

x = sin(time*0.3);

y = dly(x, 1.0);

Limitations

x,y and init must be scalars.