Discrete derivative





| Vector | C |
in the palette on the schematic
The block implements the numerical determination of the derivative according to the formula:

where xi( t[k] ), xi(t[k-1] ) are the values of the i-th element of the input signal to the block at the last and at the next to last sampling moments t[k], t[k-1]; 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

  • Sampling period – sampling period of T block calculation.
  • Initial conditions – vector of initial values yi of the block output.

Parameters

none

Note:
  1. By default, the block implements scalar input signal processing.
  2. Coefficients ai, bj are introduced according to increasing powers z. 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 quantization period is a multiple of the integration step T = k·h, where k, h is an integer and the integration step.