How to get original Shape of data after Removing Noise using Histogram
2 views (last 30 days)
Show older comments
Med Future on 26 Jan 2023
Commented: Jan on 28 Jan 2023
Hello I hope you are doing well. I have the Dataset which have 279 values in array.
I have applied Preprocessing using Histogram which delete Noise using 33% of maximum Value
The first picture oldshape.jpg shows the Original shape at 338,343,348 with Noise.
The 2nd picture Newshape.jpg shows after applying Histogram In which shape is changed.
How can i get the original Shape after this algo of Histogram
[N,Edges,Bin] = histcounts(NewDataset,10000,"BinMethod","sturges",'BinWidth',1,'BinLimits',[1 10000]);
Retain = N > max(N)/3; % Retain Values In Bins Greater Than One-Third Of The Meximum Bin Count Value
FindBins = find(Retain)
DatasetValues = cell(1,length(FindBins));
RetainDataLv = (Bin == FindBins(i)); % Values In 'Bin' Corresponding To 'Retain' Test
RetainData = NewDataset(RetainDataLv) ;
Jan on 28 Jan 2023
@Med Future: Please do not address specific users. Remember, that they get a notification, if you type "@xyz". If all users call some preferred other members, there will be huge number of notifications. Reading them reduces the time for posting answers, so with such notifications you try to increase your chance to get an answer on the costs of others.
Use these notifications only for persons, who are involved in the discussion already. Thanks.
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!