Polynomial line fitting to dense data

1 次查看(过去 30 天)
Is it possible to perform polynomial regression to data that looks like this?

回答(2 个)

Image Analyst
Image Analyst 2020-3-15
编辑:Image Analyst 2020-3-15
Yes, just try it. Attached is a demo. Attach your data if you have trouble.

John D'Errico
John D'Errico 2020-3-15
Of course it is.
help polyfit
Do NOT fit anything of higher order than a straight line to that crap though. You will be kidding yourself if you do.
  13 个评论
Kyuhee Jo
Kyuhee Jo 2020-3-15
For clarification, we are using angles between the three vectors, theta 1 btw R & G and theta 2 btw G&B
Image Analyst
Image Analyst 2020-3-16
Did you try the LDA or PCA classification?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by