| Fixed-Point Blockset | ![]() |
Calculate the change in a signal over one time step
Library
Description 
The Difference block outputs the current input value minus the previous input value.
Parameters and Dialog Box
Characteristics
| Input Ports |
Any data type supported by the blockset |
| Output Port |
Any data type supported by the blockset |
| Direct Feedthrough |
Yes |
| Scalar Expansion |
Of inputs and gain |
| Detect Rise Positive | Divide | ![]() |