Normalizing histogram counts to 1
16 ビュー (過去 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!