non linear curve fitting for scatter points

조회 수: 3 (최근 30일)
fereshte
fereshte 2014년 7월 8일
댓글: fereshte 2014년 7월 9일
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.

답변 (1개)

Image Analyst
Image Analyst 2014년 7월 8일
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
Image Analyst
Image Analyst 2014년 7월 9일
I'm not familiar with finding mixtures of Gaussians. See Wikipedia article http://en.wikipedia.org/wiki/Mixture_density to get started.
fereshte
fereshte 2014년 7월 9일
thanks.dear Image Analyst how use cubic fit for my points?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by