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!