Delay for the sampling period
![]() |
![]() |
| Vector | C | |
| in the palette | on the schematic |
The block implements a discrete delay of the input signal by one sampling period:

where y(t) is the value of the output signal at the current moment of the calculated (model) time, x(t[k-1]) is the value of the input signal at the next to last sampling moment t[k-1]. Sampling occurs with a period T, which is set by the block parameter.

where y(t) is the value of the output signal at the current moment of the calculated (model) time, x(t[k-1]) is the value of the input signal at the next to last sampling moment t[k-1]. Sampling occurs with a period T, which is set by the block parameter.
Inputs
- input - block input.
Outputs
- output - block output.
Properties
- Sampling period – block calculation sampling period.
- The time error of determining the transition relative to the step.
- Initialize conditions by inputs.
- Initial values of the conditions – the value of the output at t=0.
- Add a resetting port.
Parameters
none
Note:
For the proper operation of this unit, it is necessary to set the maximum integration step no more than 0.5·T. When integrating with a constant step, it is recommended to set the step such that the sampling period is a multiple of the integration step T = k·h, where k, h is an integer and the integration step respectively.

