Context:
The function requires two arguments: the name of the X–Y data object (name) and the decimation factor (decimationFactor), which is the factor by which the sampling rate is to be increased. The decimation factor must be an integer value greater than 1. The function also accepts an optional argument that specifies the ratio of the new sampling rate to the cutoff frequency used by the function prior to decimation (cutoffFactor). The cutoff factor must be an integer value of 2 or more. The default value is 3.
Locate the Operate on XY Data dialog box.
From the main menu bar, select . Click Operate on XY data in the dialog box that appears; then click Continue. The Operate on XY Data dialog box appears.
From the Operators listed, click .
The function appears in the expression window.
From the XY Data choices, click the name of the X–Y data object on which to operate and click Add to Expression. You can choose from all X–Y data objects previously saved within this session (listed alphabetically in the XY Data field).
The X–Y data object name appears within the function parentheses in the expression window.
Position the cursor in the expression window before the second comma, and type in a value for the decimation factor.
If desired, position the cursor in the expression window before the third comma, and type in a value for the cutoff factor.
To evaluate and display your expression, click Plot Expression.
To save your new X–Y data object, click Save As and then provide a name in the dialog box that appears.
Saving your data object makes it available for future operations within this session and for inclusion in X–Y plots containing multiple data objects.
When you are finished, click Cancel to close the dialog box.