
Contents |
Differentiate
Calculate derivative of the input data
This feature is updated in 8.0 SR5. For more details, please refer to Release Notes.
1. differentiate iy:=Col(2);
2. differentiate iy:=(1, 2) order:=2 oy:=(3, 4);
3. differentiate iy:=(1,2) smooth:=1 poly:=2 npts:=20
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Input | iy |
Input XYRange | | Specify the input XY range (curve) to perform differentiation. |
| Derivative Order | order |
Input int | | Specify the derivative order. |
| Smooth | smooth |
Input int | | Specify whether to use the Savitzky-Golay smoothing method that performs a local polynomial regression around each point to find the derivatives. |
| Polynomial Order | poly |
Input int | | This is available only when the smooth variable is set to 1. It specifies the polynomial order (1 to 9) for the Savitzky-Golay smoothing method. |
| Points of Window | npts |
Input int | | This is available only when the smooth variable is set to 1. It specifies the number of points in the moving window used in the Savitzky-Golay smoothing method. |
| Output | oy |
Output XYRange | | Specify the output range.
See the syntax here. |
| Plot Derivative Curve | plot |
Input int | | Specify whether to plot the derivative curve. |
This example shows you how to calculate the second derivative of a dataset:
Please refer to this page in the User Guide for more information: