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!