How to smooth the sharp peaks of a curve?
1 次查看(过去 30 天)
显示 更早的评论
I want to smooth this kind of sharp peaks and it's fine if I need to multiply the equation to some equations or manipulate the data. I have tried
y_given=interp1(x,y,xgiven,'spline');
and
cs = csapi(x,y);
fnplt(cs,1);"
but it doesn't change my curve so much.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157009/image.png)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Smoothing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!