Contents Up Previous Next

Basic Options

Purpose
Description
Tips
Macro Synopsis
Modules
Related Functions
References


Purpose

Set the default interpolation type and order (Macro only)

Description

"Basic Options" allows you to change the default type of interpolation used to adapt two signals to a common sampling frequency. Interpolation is used implicitly every time two signals of unequal sampling period (scale) and/or x-axis-offset are combined, so these changes have global effects on most of the functions operating on more than one signal. Warning: In order to avoid confusion, make sure that the x-axis units of the input signals to be combined are equal since there is no automatic unit conversion.

Parameters for "Basic Options" are


Tips

In general, smooth functions are best approximated by higher order polynomials, whereas for functions with sharp corners or rapidly changing higher derivatives, the choice of lower-order or even linear approximation gives more accurate results.

Macro Synopsis

BasicOptions(type, order);
option type;
int order;
Note: The order parameter must be set for every interpolation type (even if not used).

Modules

Basic

Related Functions

Spectral Options, Resample.

References

Press et al. [16], Crochiere [17]