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
Introducción a los splines
- Introducing Spline Fitting
Tools for interactive and programmatic spline fitting in 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 and Smoothing Splines
Learn about the definitions of the B-form and smoothing splines. - Multivariate and Rational Splines
Learn how to construct multivariate and rational splines. - The ppform
Learn about the definition of the ppform spline. - The B-form
Learn about the definition of B-form 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: - Construction of the Chebyshev Spline
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. - 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 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. - Cubic Smoothing Splines
This example shows how to use thecsaps
andspaps
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 thespmak
,spcrv
,cscvn
andrscvn
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 thecscvn
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.