How to remove Noise using histogram In Matlab

10 views (last 30 days)
Hello Everyone, i hope you are doing well. I have the following data in which I have some noise. I want to remove the Noise using Histogram or any other Method. I have attached the picture below which is the noise.
How can i do that?

Answers (1)

Abderrahim. B
Abderrahim. B on 28 Aug 2022
Below is a workflow based on groupcounts function:
load noisydata.mat
plot(dataset, 'o')
title("noisy data")
% Filtering based groupcounts
[GC, GR] = groupcounts(dataset) ;
denoisedData = dataset(ismember(dataset, GR(GC>10))) ; % group that has count less than 10 will be removed
plot(denoisedData, 'o')
title("denoised data")
Hope this helps
Stephen john
Stephen john on 29 Aug 2022
@Issa Can you help me with this using Histogram?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by