Y-values for the histogram
조회 수: 9 (최근 30일)
이전 댓글 표시
Can anyone tell me how can I extract the y-values of the below histogram so that I can plot in any software
randlp2 = exp( gamrnd(26.803,1/8.8801,50000,1)+1.6729 )
figure(1);
x = histogram(randlp2,'normalization','pdf');
댓글 수: 0
채택된 답변
Bjorn Gustavsson
2022년 9월 7일
Perhaps you look for histcounts? Seems like that is the function that returns what is plotted in histogram.
HTH
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!