Normalizing histogram counts to 1
18 views (last 30 days)
Show older comments
Hi,
I am trying to normalize the histogram counts in the from of 0 to 1 using the below script. However, I am not getting my counts in the range of 0 to 1.
PS - I have also attached my data here..
histogram(Output, 'Normalization', 'pdf');
0 Comments
Answers (1)
David Hill
on 17 Mar 2022
Don't you want probability.
histogram(Output, 'Normalization', 'probability');
3 Comments
See Also
Categories
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!