Normalizing histogram counts to 1
18 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
David Hill
2022-3-17
Don't you want probability.
histogram(Output, 'Normalization', 'probability');
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!