Main Content

Esta página aún no se ha traducido para esta versión. Puede ver la versión más reciente de esta página en inglés.

Construir splines

Cree splines como los B-form, tensor-product, NURB y otros splines racionales

Con la app Curve Fitting o la función fit, puede ajustar una interpolación por splines cúbicos, splines de suavizado y splines de thin-plate. Otras funciones de Curve Fitting Toolbox™ permiten un control más especializado en la construcción de splines. Por ejemplo, puede utilizar la función csapi para la interpolación por splines cúbicos. Para obtener más información, consulte How to Construct Splines.

Funciones

bsplinePlot B-spline and its polynomial pieces
csapeCubic spline interpolation with end conditions
csapiCubic spline interpolation
csapsCubic smoothing spline
cscvn“Natural” or periodic interpolating cubic spline curve
frankeFranke's bivariate test function
getcurveInteractive creation of cubic spline curve
ppmakPut together spline in ppform
rpmakPut together rational spline
rscvnPiecewise biarc Hermite interpolation
rsmakPut together rational spline for standard geometric shapes
spap2Least-squares spline approximation
spapiSpline interpolation
spapsSmoothing spline
spcrvSpline curve by uniform subdivision
splinetoolExperiment with some spline approximation methods
spmakPut together spline in B-form
sptermsExplain spline terms
stmakPut together function in stform
tpapsThin-plate smoothing spline
titaniumTitanium test data

Temas

Introducción a los splines

Principales métodos de spline

How to Construct Splines

This example shows how to construct splines in various ways using the spline functions in Curve Fitting Toolbox™.

Construct and Work with the B-form

This example shows how to construct and work with the B-form of a spline in Curve Fitting Toolbox™.

Construct and Work with the PPFORM

This example shows how to construct and work with the ppform of a spline in Curve Fitting Toolbox™.

How to Choose Knots

This example shows how to select and optimize knots using the optknt and newknt commands from Curve Fitting Toolbox™.

Ajustar splines a los datos

Cubic Spline Interpolation

This example shows how to use the csapi and csape commands from Curve Fitting Toolbox™ to construct cubic spline interpolants.

Cubic Smoothing Splines

This example shows how to use the csaps and spaps commands from Curve Fitting Toolbox™ to construct cubic smoothing splines.

Fitting a Spline to Titanium Test Data

This example shows how to use commands from Curve Fitting Toolbox™ to fit a spline to titanium test data with manual and automatic selection of knots.

Aplicaciones de splines

Splines in the Plane

This example shows how to use the spmak, spcrv, cscvn and rscvn commands from Curve Fitting Toolbox™ to construct spline curves in the plane.

Constructing Spline Curves in 2D and 3D

This example shows how to use the cscvn command from Curve Fitting Toolbox™ to construct cubic spline curves in two and three dimensions.

Smoothing a Histogram

This example shows how to use spline commands from Curve Fitting Toolbox™ to smooth a histogram.

Bivariate Tensor Product Splines

This example shows how to use the spline commands in Curve Fitting Toolbox™ to fit tensor product splines to bivariate gridded data.

Solving a Nonlinear ODE with a Boundary Layer by Collocation

This example shows how to use spline commands from Curve Fitting Toolbox™ solve a nonlinear ordinary differential equation (ODE).

Construction of a Chebyshev Spline

This example shows how to use commands from Curve Fitting Toolbox™ to construct a Chebyshev spline.

Ejemplos destacados