Main Content

Splines

Construct splines with or without data; ppform, B-form, tensor-product, rational, and stform thin-plate splines

A spline is a series of polynomials joined at knots. Splines can be useful in scenarios where using a single approximating polynomial is impractical.

曲线拟合Toolbox™ functions allow you to construct splines for fitting to and smoothing data. For more information, seeHow to Construct Splines. Splines can be used to smooth noisy data and perform interpolation. For a simple example showing how to use splines to perform interpolation, seeCubic Spline Interpolation.

Using the曲线拟合app or thefitfunction, you can fit cubic spline interpolants, smoothing splines, and thin-plate splines. Other Curve Fitting Toolbox functions allows more specialized control over spline construction. For information, seeIntroducing Spline Fitting.

Featured Examples