Curve Fitting (No noise)
2 次查看(过去 30 天)
显示 更早的评论
I need to find the function that describes a dataset (x, y), the values do not have noise. Which commands do you recommend?
1 个评论
Andrew Newell
2017-4-19
Depends what you mean by "describes"! If you want a curve that goes through all the points, interpolation would be best. If x and y are vectors, you could use interp1.
采纳的回答
Image Analyst
2017-4-19
See my polyfit() demo, attached. It's one of many possible ways. Whether or not it will be best for your needs is known only by you, not us.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174067/image.png)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!