non linear curve fitting for scatter points
Ältere Kommentare anzeigen
hi...i have some scatter points in x-y coordinate.how can do curve fitting for them? please help me.its very necessary for me.
Antworten (1)
Image Analyst
am 8 Jul. 2014
0 Stimmen
When you say "non-linear" do you really mean nonlinear in x? Or do you mean just a regular polynomial, which can be, say a cubic, which can be solved with regular linear least squares like polyfit() gives you? You can have a fit that's not a straight line and it's still linear least squares because it's linear in the coefficients, not the x terms. I attach a demo for you that uses polyfit().

3 Kommentare
Image Analyst
am 9 Jul. 2014
I'm not familiar with finding mixtures of Gaussians. See Wikipedia article http://en.wikipedia.org/wiki/Mixture_density to get started.
fereshte
am 9 Jul. 2014
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!