meas_deriv :
A primitive for measuring the n-th derivative value of an xreal-typed signal at triggering events.
The meas_deriv
primitive measures the n-th derivative value of an xreal-typed signal in
when it is triggered by the input trig
. The real-typed output out
indicates the sampled n-th derivative value of the signal at the triggering events. The parameter order
specifies the order of derivative (default: 1). The output out
initially takes an “NaN (not-a-number)” value until the first triggering event occurs, and gets updated to a finite value once a triggering event occurs.
Input/Output Terminals
Name | I/O | Type | Description |
out | output | real | slope |
in | input | xreal | input signal |
trig | input | xbit | trigger |
Parameters
Name | Type | Default | Unit | Description |
order | integer | 1 | None | order of derivative |