Curve Fitting Toolbox    

Excluding and Sectioning Data

If there is justification, you might want to exclude part of a data set from a fit. Typically, you exclude data so that subsequent fits are not adversely affected. For example, if you are fitting a parametric model to measured data that has been corrupted by a faulty sensor, the resulting fit coefficients will be inaccurate.

The Curve Fitting Toolbox provides two methods to exclude data:

For each of these methods, you must create an exclusion rule, which captures the range, domain, or index of the data points to be excluded.

To exclude data while fitting, you use the Fitting GUI to associate the appropriate exclusion rule with the data set to be fit. Refer to Example: Robust Fit for more information about fitting a data set using an exclusion rule.

You mark data to be excluded from a fit with the Exclude GUI, which you open from the Curve Fitting Tool. The GUI is shown below followed by a description of its features.

Exclusion Rule

Exclude Individual Data Points

Exclude Data Sections by Domain or Range


  Example: Smoothing Data Marking Outliers