How to fit irregular data using Lowess/other correct method?
2 次查看(过去 30 天)
显示 更早的评论
Hello, I really need some help- I have got two design variables with irrengular pattern.I wish to build a MATLAB code to establish a smooth relation and generate a relationship. I also want to plot and double-check that I have built it right. Can someone please tell how do I do it- is Lowess the best method to fit this curve? Thanks, Swanand.
0 个评论
回答(1 个)
Image Analyst
2016-12-4
Lowess is a good method if you have the curve fitting toolbox. I don't, so I use the Savitzky-Golay filter, sgolayfilt() in the Signal Processing Toolbox. Or maybe a median filter will do the trick for you. It's claim to fame is it gets rid on impulsive noise while keeping true edges sharp.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!