dly

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

Examples

x = sin(time*0.3);

y = dly(x);

Limitations

x,y and init must be scalars.