How to smooth the sharp peaks of a curve?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Smoothing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!