Y-values for the histogram
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Bjorn Gustavsson
le 7 Sep 2022
Perhaps you look for histcounts? Seems like that is the function that returns what is plotted in histogram.
HTH
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Histograms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!