Y-values for the histogram
    4 views (last 30 days)
  
       Show older comments
    
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 Comments
Accepted Answer
  Bjorn Gustavsson
      
 on 7 Sep 2022
        Perhaps you look for histcounts? Seems like that is the function that returns what is plotted in histogram.
HTH
More Answers (0)
See Also
Categories
				Find more on Data Distribution Plots in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


