Y-values for the histogram
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Raj Arora
am 7 Sep. 2022
Bearbeitet: Torsten
am 7 Sep. 2022
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 Kommentare
Akzeptierte Antwort
Bjorn Gustavsson
am 7 Sep. 2022
Perhaps you look for histcounts? Seems like that is the function that returns what is plotted in histogram.
HTH
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!