How to get the normalized data from the histogram

조회 수: 4 (최근 30일)
Omar Abdel Deen
Omar Abdel Deen 2021년 7월 5일
댓글: Omar Abdel Deen 2021년 7월 6일
Hello everyone, I have normalized a histogram for a vector contains around 19000 samples, after applying the normalization,I want to extract these data points and do some calculations that depends on the normalized data, my quistion is, is there any documintation about that ? I need to use these 19000 normalized samples not the original samples, Thanks.

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 7월 5일
Normalization of hist data can be done in a relatively simple way, e.g.:
[H, xdata] = histogram(DATA,Bins);
dx = abs(diff(xdata(1:2));
Area = sum(dx*H);
Hnor = H/Area;
%%
There are nice fcn files in MATLAB exchange:
https://www.mathworks.com/matlabcentral/fileexchange/22802-normalized-histogram?s_tid=srchtitle
  댓글 수: 1
Omar Abdel Deen
Omar Abdel Deen 2021년 7월 6일
Thank you, @Sulaymon Eshkabilov for answering the question, but, I alraeady normalized the data,what I want is to use these normalized data, I can't find away to use the normalized data. Thanks .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by