Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Smoothing

Fit using smoothing splines and localized regression, smooth data with moving average and other filters

Apps

Curve Fitting Fit curves and surfaces to data

Functions

fit Fit curve or surface to data
fittype Fit type for curve and surface fitting
fitoptions Create or modify fit options object
get Get fit options structure property names and values
set Assign values in fit options structure
smooth Smooth response data
prepareCurveData Prepare data inputs for curve fitting
prepareSurfaceData Prepare data inputs for surface fitting
excludedata Exclude data from fit

Examples and How To

Smoothing Splines

Fit smoothing splines in Curve Fitting app or with the fit function to create a smooth curve through data and specify the smoothness.

Lowess Smoothing

Fit smooth surfaces to your data in Curve Fitting app or with the fit function using Lowess models.

Filtering and Smoothing Data

Use the smooth function to smooth response data, using methods for moving average, Savitzky-Golay filters, and local regression with and without weights and robustness (lowess, loess, rlowess and rloess).

Fit Smooth Surfaces To Investigate Fuel Efficiency

This example shows how to use Curve Fitting Toolbox™ to fit a response surface to some automotive data to investigate fuel efficiency.

Concepts

Nonparametric Fitting

Nonparametric fitting to create smooth curves or surfaces through your data with interpolants and smoothing splines.

Was this topic helpful?