How to apply smoothing filter to histogram2 to reduce noise

4 visualizaciones (últimos 30 días)
Timur Shaftan
Timur Shaftan el 15 de Ag. de 2022
Respondida: Rohit el 23 de Ag. de 2022
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 comentario
dpb
dpb el 15 de Ag. de 2022
Reducing the number of bins will have similar effect or you can try smoothdata

Iniciar sesión para comentar.

Respuestas (1)

Rohit
Rohit el 23 de Ag. de 2022
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:

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by