non linear curve fitting for scatter points

4 ビュー (過去 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 Center および File ExchangeLeast Squares についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by