Difference of zero order
![]() |
![]() |
| Vector | |
| in the palette | on the schematic |
The block is vectorized. It implements the calculation of the zero order difference by the formula:

where xi(t), xi(t – ∆t) are the values of the i-th element of the input signal in the block at the current and previous integration steps; yi(t) is the i-th element of the output signal from the block at the current moment of the model time.

where xi(t), xi(t – ∆t) are the values of the i-th element of the input signal in the block at the current and previous integration steps; yi(t) is the i-th element of the output signal from the block at the current moment of the model time.
Inputs
- input – the port for the input signal of the block.
Outputs
- output – the output port of the block.
Properties
- Initial conditions – vector of initial values yi of the block output.
- Decoupling of algebraic loops – a checkbox (flag) indicating whether this block should decouple the loops.
Parameters
none
Note:
By default, the block implements the calculation of zero order difference for the scalar input signal.

