Histogram(w,‘normalization’,‘probability’) I represented large amount of data in w as histogram to show probability mass function distribution. Where in x-axis is a measure of wait of an event and y-axis is the probability. Can anyone help with on how to retrieve the histogram values to put them in a list? I need these values to measure mean and std_dev. Thank you.

1 commentaire

hosein Javan
hosein Javan le 12 Août 2020
the data of "w" is lost and yet the figure is present?

Connectez-vous pour commenter.

 Réponse acceptée

Steven Lord
Steven Lord le 13 Août 2020

0 votes

Do you want the raw data that was used to create the histogram or the probabilities of the bars? In the former case look at the Data property of the histogram object while in the latter look at the Values property.
If neither of those are what you want, please provide a bit more detail on your specific goal.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by