|
|
Curve fit to 3D data
All,
what is a simply method to fit a curve to a 3D set of points (no function!) which are stored in a matrix where rows are the individual points and columns the x,y,z coordinates?
My objective is to find a best fit (least square error) curve to match the points in my matrix and then plot the points using scatter3 and the fit curve in one plot.
Is this possible and how can I achieve this in MATLAB?
Thx.
|
|
0
|
|
|
|
Reply
|
Thomas
|
12/7/2010 11:52:06 AM |
|
"Thomas " <spalek@yamakasis.de> wrote in message <idl755$o5h$1@fred.mathworks.com>...
> All,
> what is a simply method to fit a curve to a 3D set of points (no function!) which are stored in a matrix where rows are the individual points and columns the x,y,z coordinates?
======
What kind of curve?
|
|
0
|
|
|
|
Reply
|
Matt
|
12/7/2010 2:37:07 PM
|
|
"Thomas " <spalek@yamakasis.de> wrote in message
news:idl755$o5h$1@fred.mathworks.com...
> All,
> what is a simply method to fit a curve to a 3D set of points (no
> function!) which are stored in a matrix where rows are the individual
> points and columns the x,y,z coordinates?
>
> My objective is to find a best fit (least square error) curve to match the
> points in my matrix and then plot the points using scatter3 and the fit
> curve in one plot.
>
> Is this possible and how can I achieve this in MATLAB?
http://www.mathworks.com/support/tech-notes/1500/1508.html
--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlab.wikia.com/wiki/FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
|
|
0
|
|
|
|
Reply
|
Steven_Lord
|
12/7/2010 2:48:33 PM
|
|
Thanks Steven,
but how can I plat my 3d data in a scatter3 plot and fit the points with a spline in the same plot? I can fit a surface using the sftool but this is not what I wanted to do. My points lie on a trajectory which is a 3d pareto front.
"Steven_Lord" <slord@mathworks.com> wrote in message <idlhg1$a8v$1@fred.mathworks.com>...
>
>
> "Thomas " <spalek@yamakasis.de> wrote in message
> news:idl755$o5h$1@fred.mathworks.com...
> > All,
> > what is a simply method to fit a curve to a 3D set of points (no
> > function!) which are stored in a matrix where rows are the individual
> > points and columns the x,y,z coordinates?
> >
> > My objective is to find a best fit (least square error) curve to match the
> > points in my matrix and then plot the points using scatter3 and the fit
> > curve in one plot.
> >
> > Is this possible and how can I achieve this in MATLAB?
>
> http://www.mathworks.com/support/tech-notes/1500/1508.html
>
> --
> Steve Lord
> slord@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlab.wikia.com/wiki/FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
|
|
0
|
|
|
|
Reply
|
Thomas
|
12/7/2010 4:39:07 PM
|
|
|
3 Replies
541 Views
(page loaded in 0.017 seconds)
Similiar Articles: Curve fit to 3D data - comp.soft-sys.matlabAll, what is a simply method to fit a curve to a 3D set of points (no function!) which are stored in a matrix where rows are the individual points an... Fitting a curve into a 3D point cloud - comp.soft-sys.matlab ...I have data that is made up of a 3d point cloud (x,y,z coordinates). It essentially looks like a curved tube. My problem is that I can't find a way to... Sine Curve Fit to Data - comp.soft-sys.matlabCurve fit to 3D data - comp.soft-sys.matlab How to fit Lorentzian curve in Matlab - comp.dsp Curve fit to 3D data - comp.soft-sys.matlab Sine Curve Fit to Data - comp.soft ... 3d plot of linear splines - comp.soft-sys.matlab3D polynomial fitting - comp.soft-sys.matlab 3d plot of linear splines - comp.soft-sys.matlab... sys.matlab Curve fit to 3D data - comp.soft-sys.matlab... geometry - Curve ... Using matlab to do modelling and curve fitting using Data from ...Using matlab to do modelling and curve fitting using Data from Excel Spreadsheets. Follow How to fit Lorentzian curve in Matlab - comp.dspCurve fit to 3D data - comp.soft-sys.matlab How to fit Lorentzian curve in Matlab - comp.dsp Curve fit to 3D data - comp.soft-sys.matlab Non-linear curve fit - comp.soft ... 2nd-order surface equation for fitting 3d data - comp.soft-sys ...Curve fit to 3D data - comp.soft-sys.matlab 2nd-order surface equation for fitting 3d data - comp.soft-sys ... Using matlab to do modelling and curve fitting using Data ... least square fit for experimental data - comp.soft-sys.matlab ...Curve fit to 3D data - comp.soft-sys.matlab surface fitting / least-squares regression - comp.soft-sys.matlab ... Curve fit to 3D data - comp.soft-sys.matlab > > > > My ... plot and curve fit - comp.soft-sys.matlabCurve fit to 3D data - comp.soft-sys.matlab 3d plot of linear splines - comp.soft-sys.matlab Curve fit to 3D data - comp.soft-sys.matlab Thanks Steven, but how can I plat ... Gaussian Peak Fitting - comp.soft-sys.matlabCurve fit to 3D data - comp.soft-sys.matlab 3d Gauss fitting - comp.soft-sys.matlab How to fit Lorentzian curve in Matlab - comp.dsp Gaussian Peak Fitting - comp.soft-sys ... Online Curve Fitting and Surface Fitting at ZunZun.comOnline data modeling and visualization. Fits 2D and 3D data to standard functions, and produces various plots, histograms, and error charts. Curve fitting - Wikipedia, the free encyclopediaFor algebraic analysis of data, "fitting" usually means trying to find the curve that minimizes the vertical (y ... terms of 2D curves, much of this logic also extends to 3D ... 7/24/2012 9:38:00 PM
|
|
|
|
|
|
|
|
|