Borrar filtros
Borrar filtros

How to get original Shape of data after Removing Noise using Histogram

1 visualización (últimos 30 días)
Med Future
Med Future el 26 de En. de 2023
Comentada: Jan el 28 de En. de 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
h=histogram(NewDataset,10000,"BinMethod","sturges",'BinWidth',1,'BinLimits',[1 10000]);
[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));
for i=1:length(FindBins)
RetainDataLv = (Bin == FindBins(i)); % Values In 'Bin' Corresponding To 'Retain' Test
RetainData = NewDataset(RetainDataLv) ;
pre_output= cell2mat(DatasetValues);
  2 comentarios
Jan el 28 de En. de 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.

Iniciar sesión para comentar.

Respuestas (0)


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




Community Treasure Hunt

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

Start Hunting!

Translated by