3D approximation with spline

7 visualizaciones (últimos 30 días)
samar
samar el 29 de Sept. de 2014
Respondida: samar el 30 de Sept. de 2014
Hi everybody, I want to approximate a 3D function ( 3 state variables with a large set of points for each one)! Does anyone knows how to do it? I used to use Csapi function for a two-dimensional functions
Thank you

Respuesta aceptada

Drew Davis
Drew Davis el 29 de Sept. de 2014
Have you checked out the curve fitting toolbox, specifically the “fit” function?
Here you can fit 3 dimensional data to a fit type of your choosing. One of the fit types include the ‘smoothingspline’ option which attempts to connect the data using a smoothing spline fit.
Alternatively you could run the cftool app with your data in the workspace and select the type of fit you would like via the dropdowns.
You might also want to take a look at this page from MATLAB’s documentation that talks about constructing spline curves in 2D and 3D.

Más respuestas (1)

samar
samar el 30 de Sept. de 2014
thank you

Categorías

Más información sobre Spline Postprocessing en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by