Construir splines
Cree splines como los B-form, tensor-product, NURB y otros splines racionales
Con la app Curve Fitter 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 Cómo construir splines.
Funciones
Temas
Introducción a los splines
- Introducción al ajuste de splines
Herramientas para el ajuste interactivo y programático de splines en Curve Fitting Toolbox. - Curve Fitting Toolbox Splines and MATLAB Splines
How Curve Fitting Toolbox extends the splines (or piecewise-polynomial functions) of MATLAB®. - Types of Splines: ppform and B-form
Learn about the definitions of the ppform and B-form splines. - B-Splines y splines de suavizado
Consulte más información sobre los splines B-form y los splines de suavizado. - Multivariate and Rational Splines
Learn how to construct multivariate and rational splines. - El ppform
Puede obtener más información de la definición del spline ppform. - The B-form
Learn about the definition of B-form splines. - NURBS and Other Rational Splines
Learn about the definitions of rational splines.
Principales métodos de spline
- Cubic Spline Interpolation
Use cubic splines to interpolate smooth data, choosing knots and smoothness. - Vector-Valued Functions
Use vector-valued splines to plot curves through given points. - Fitting Values at N-D Grid with Tensor-Product Splines
Use vector-valued splines to approximate gridded data in any number of variables using tensor-product splines. - Fitting Values at Scattered 2-D Sites with Thin-Plate Smoothing Splines
Use the thin-plate smoothing spline for work with scattered bivariate data. Tensor-product splines are good for gridded (bivariate and even multivariate) data. - Constructing and Working with ppform Splines
Learn how to construct ppform splines. - Constructing and Working with B-form Splines
Learn how to construct B-form splines. - Multivariate Tensor Product Splines
Learn how to construct multivariate splines. - Constructing and Working with Rational Splines
Learn how to construct rational splines. - Constructing and Working with stform Splines
Learn how to construct stform splines. - Least-Squares Approximation by Natural Cubic Splines
The construction of a least-squares approximant usually requires that one have in hand a basis for the space from which the data are to be approximated. - Solving A Nonlinear ODE
This section discusses these aspects of a nonlinear ODE problem: - Chebyshev Spline Construction
This section discusses these aspects of the Chebyshev spline construction: - Approximation by Tensor Product Splines
Because the toolbox can handle splines with vector coefficients, it is easy to implement interpolation or approximation to gridded data by tensor product splines, as the following illustration is meant to show. - Cómo construir splines
Este ejemplo muestra cómo construir splines de varias formas utilizando las funciones para splines de 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 theoptknt
andnewknt
commands from Curve Fitting Toolbox™.
Ajustar splines a los datos
- Cubic Spline Interpolation
This example shows how to use thecsapi
andcsape
commands from Curve Fitting Toolbox™ to construct cubic spline interpolants. - Splines cúbicos de suavizado
Este ejemplo muestra cómo usar los comandoscsaps
yspaps
de Curve Fitting Toolbox™ para construir splines cúbicos de suavizado. - 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 thespmak
,spcrv
,cscvn
andrscvn
commands from Curve Fitting Toolbox™ to construct spline curves in the plane. - Construir curvas de spline en 2D y 3D
Este ejemplo muestra cómo usar el comandocscvn
de Curve Fitting Toolbox™ para construir curvas de spline cúbico en dos y tres dimensiones. - Suavizar un histograma
Este ejemplo muestra cómo usar los comandos de splines de Curve Fitting Toolbox™ para suavizar un histograma. - 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). - Construct Chebyshev Spline
This example shows how to use commands from Curve Fitting Toolbox™ to construct a Chebyshev spline.