movmean reduces the dynamic range

조회 수: 5 (최근 30일)
FastCar
FastCar 2020년 2월 5일
답변: Raunak Gupta 2020년 3월 20일
Dear all,
I have a series of data that you can see in figure 1. I would like to filter the noise out. I used movemean but it reduces the dynamic range.
What could I do?
Best regards

채택된 답변

Raunak Gupta
Raunak Gupta 2020년 3월 20일
Hi,
Since movmean is an averaging filter, values that are outliers are removed when the averaging is done over a window, so if the signal value is rapidly changing as it is in this case and that rapidly changing input is signal rather than noise I would recommend using envelop which can give upper limit and lower of the signal at hand. This will not change the dynamic range you are looking for. Otherwise you may explore more smoothing filters here.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by