Hints to smoothe noisy data

Hi can someone of you give me a tip how i could best smooth following data to eliminate noise and to emphasize the peaks. I attached the plot of the raw measurement beow.

2 件のコメント

Adam Danz
Adam Danz 2019 年 1 月 24 日
Here's the figure so people don't have to download it:
190124 104011-Figure 1.jpg
Adam Danz
Adam Danz 2019 年 1 月 24 日
What do you consider a peak? What would your ideal plot look like after smoothing?

回答 (2 件)

Cris LaPierre
Cris LaPierre 2019 年 1 月 24 日

0 投票

"Best" way depends on many things. Classic ways to remove noise are signal averaging if your signal is repeatable, or applying a moving average. If you know something about the frequency of your desired signal, you could apply a filter.
Take a look at this example page.
Bjorn Gustavsson
Bjorn Gustavsson 2019 年 1 月 24 日

0 投票

It sounds like you want a filter that is similar to what you get with the wiener2 function - from the top of my head I dont remember if it works just as great on 1-D signals, but you can look at its source-code. This filter (Lee's sigma-filter) filters variations that are small compared to the local variance by keeps spikes.
HTH

この質問は閉じられています。

質問済み:

2019 年 1 月 24 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by