La traducción de esta página está obsoleta. Haga clic aquí para ver la última versión 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

 `bspline` Plot B-spline and its polynomial pieces `csape` Interpolación por splines cúbicos con condiciones de contorno `csapi` Cubic spline interpolation `csaps` Spline de suavizado cúbico `cscvn` “Natural” or periodic interpolating cubic spline curve `franke` Función de prueba bivariada de Franke `getcurve` Interactive creation of cubic spline curve `ppmak` Put together spline in ppform `rpmak` Put together rational spline `rscvn` Piecewise biarc Hermite interpolation `rsmak` Put together rational spline for standard geometric shapes `spap2` Least-squares spline approximation `spapi` Spline interpolation `spaps` Smoothing spline `spcrv` Spline curve by uniform subdivision `splinetool` Experiment with some spline approximation methods `spmak` Put together spline in B-form `spterms` Explain spline terms `stmak` Put together function in stform `tpaps` Thin-plate smoothing spline `titanium` Datos de prueba del titanio

## Temas

### 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.