Using X–Y data operations

You can derive new X–Y data by operating on previously saved X–Y data objects. This overview lists the operations you can perform on X–Y data. You can also operate on history data during the save procedure. For more information, see Saving an X–Y data object.

See Also
Understanding how to operate on saved X–Y data objects
Operating on saved X–Y data objects

The following keys are used to classify function arguments:

Text keys for X–Y operations:
A The argument can be an X–Y data object, a floating point number, or an integer.
X The argument must be an X–Y data object.
I The argument must be an integer.
F The argument must be a floating point number.

The following list indicates the section where you can find more information for each X–Y data operation.

Mathematical operations:
+ Using addition on X–Y data objects 
Using negation or subtraction on X–Y data objects 
* Using multiplication on X–Y data objects 
/ Using division on X–Y data objects 
1/A Using division on X–Y data objects 
abs(A) Taking the absolute value of an X–Y data object 
avg(X,X,...) Finding the average of two or more X–Y data objects 
currentAvg(X) Finding the current average of an X–Y data object 
differentiate(X) Differentiating an X–Y data object 
fit(X) Performing curve fitting on an X–Y data object 
integrate(X) Integrating an X–Y data object 
interpolate(X) Interpolating an X–Y data object 
linearize(X,CONSTANT) Linearizing an X–Y data object 
linearize(X,LINEAR) Linearizing an X–Y data object 
normalize(X) Normalizing an X–Y data object 
sqrt(A) Taking the square root of an X–Y data object 
srss(X,X,...) Taking the square root of the sum of the squares of two or more X–Y data objects 
sum(A,A,...) Summing two or more X–Y data objects 
vectorMagnitude(X,X,X) Calculating vector magnitudes 
Trigonometric operations:

For more information, see Applying trigonometric functions to an X–Y data object.

cos(A) Take the cosine of an X–Y data object.
acos(A) Take the arccosine of an X–Y data object.
cosh(A) Take the hyperbolic cosine of an X–Y data object.
sin(A) Take the sine of an X–Y data object.
asin(A) Take the arcsine of an X–Y data object.
sinh(A) Take the hyperbolic sine of an X–Y data object.
tan(A) Take the tangent of an X–Y data object. 
atan(A) Take the arctangent of an X–Y data object. 
tanh(A) Take the hyperbolic tangent of an X–Y data object.
Logarithmic and exponential operations:
exp(A) Taking the exponential of an X–Y data object 
log(A) Applying logarithmic functions to an X–Y data object 
log10(A) Applying logarithmic functions to an X–Y data object 
power(A,A) Raising an X–Y data object to a power 
Filtering and smoothing operations:
butterworthFilter(X,F) Applying Butterworth filtering to an X–Y data object 
chebyshev1Filter(X,F,F) Applying Chebyshev Type I or Type II filtering to an X–Y data object 
chebyshev2Filter(X,F,F) Applying Chebyshev Type I or Type II filtering to an X–Y data object 
decimateFilter(X,I) Reducing the sample size of an X–Y data object 
saeGeneralFilter(X,F) Applying SAE filtering to an X–Y data object 
sae60Filter(X,F)   Applying SAE filtering to an X–Y data object 
sae100Filter(X,F)   Applying SAE filtering to an X–Y data object 
sae180Filter(X,F)   Applying SAE filtering to an X–Y data object 
sae600Filter(X,F)   Applying SAE filtering to an X–Y data object 
sae1000Filter(X,F) Applying SAE filtering to an X–Y data object 
sineButterworthFilter(X,F) Applying sine-Butterworth filtering to an X–Y data object 
smooth(X,I) Smoothing an X–Y data object 
smooth2(X,F) Smoothing an X–Y data object 
Range and magnitude related operations:
currentMax(X) Finding the current maximum of an X–Y data object 
currentMin(X) Finding the current minimum of an X–Y data object 
currentRng(X) Finding the current range of an X–Y data object 
maxEnvelope(A,A,...) Finding the current maximum of two or more X–Y data objects 
minEnvelope(A,A,...) Finding the current minimum of two or more X–Y data objects 
rng(A,A,...) Finding the current range of two or more X–Y data objects 
Other operations:
append(X,X,...) Appending two or more X–Y data objects 
combine(X,X) Combining two X–Y data objects 
degreeToRadian(A) Converting the angular units used for X–Y data objects 
radianToDegree(A) Converting the angular units used for X–Y data objects 
swap(X) Swapping the order of an X–Y data object 
truncate(X,F) Truncating data from the ends of an X–Y data object