How to remove Noise using histogram In Matlab
조회 수: 7 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Abderrahim. B
2022년 8월 28일
Hi!
Below is a workflow based on groupcounts function:
clear
load noisydata.mat
figure
subplot(211)
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
subplot(212)
plot(denoisedData, 'o')
title("denoised data")
Hope this helps
댓글 수: 14
Abderrahim. B
2022년 8월 29일
I understand, try other filtering methods. This method - based find groups count requires to set a threshold for filtering.
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!