How can I smooth a plot?

So, I have this graphic, and I want to remove the noise and smooth the plot, how can I do this?

回答(1 个)

Star Strider
Star Strider 2017-2-19

0 个投票

A relatively straightforward way would be to use the Savitzky-Golay filter sgolayfilt function in the Signal Processing Toolbox.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by