Fixed-Point Blockset | ![]() ![]() |
Compute a discrete time derivative
Library
Description
The Derivative block computes a discrete time derivative, by subtracting the input value at the previous time step from the current value, and dividing by the sample time.
Parameters and Dialog Box
Characteristics
Input Ports |
Any data type supported by the blockset |
Output Port |
Same as the input |
Direct Feedthrough |
Yes |
Scalar Expansion |
Of inputs and gain |
![]() | Decrement To Zero | Detect Change | ![]() |