How to apply smoothing filter to histogram2 to reduce noise

조회 수: 5 (최근 30일)
Timur Shaftan
Timur Shaftan 2022년 8월 15일
답변: Rohit 2022년 8월 23일
I have to plot x/y histogram using histogram2 with substantial number of bins. As a result I see sharp spikes that non-physical and clutter the figure. Increasing the number of data to reduce this noise is not an option.
Is there a filter (e.g. running average or something like this) to reduce the noise?
  댓글 수: 1
dpb
dpb 2022년 8월 15일
Reducing the number of bins will have similar effect or you can try smoothdata

댓글을 달려면 로그인하십시오.

답변 (1개)

Rohit
Rohit 2022년 8월 23일
Hi,
I understand that you are trying to smoothen the sharp spikes. As per my understanding, you can use Signal Smoothing to accomplish this. For further information, you can refer to the below documentation links:

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by