Context: 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. function requires two arguments: the name of the |