How to remove Noise using histogram In Matlab
6 ビュー (過去 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!