curve fitting my plot
1 次查看(过去 30 天)
显示 更早的评论
trying to make my curve smooth instead of at a point. any insight will help. thank you
0 个评论
采纳的回答
Ameer Hamza
2020-3-22
You are making graph of . It is expected to be pointy. You can make graph of some other function like
f = @(x,k) exp(-k*x.^2);
which will have smooth peak.
1 个评论
Image Analyst
2020-3-22
Try smoothdata() or conv():
signal = conv(signal, ones(1, 30)/30, 'same');
This will blur it out and smooth it.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!