Difference
Calculates the signal change in one calculation step.
blockType: Difference
Path in the library:
|
Description
Block Difference calculates the difference between the current and previous input value.
Ports
Input
#
IN_1
—
input signal
scalar | vector | matrix
Details
Input signal as a scalar, vector or matrix.
| Data types |
|
| Complex numbers support |
Yes |
Output
#
OUT_1
—
output signal
vector | matrix
Details
The difference between the current and previous value of a signal at the input as a scalar, vector or matrix.
| Data types |
|
| Complex numbers support |
Yes |
Parameters
Main
#
Initial condition for previous input —
initial state
Scalar / array of real and/or complex numbers
Details
Set the initial value for the previous step.
| Default value |
|
| Program usage name |
|
| Tunable |
Yes |
| Evaluatable |
Yes |