Retrieve actual values from histogram
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muzoun Alnaqbi
am 12 Aug. 2020
Kommentiert: Muzoun Alnaqbi
am 13 Aug. 2020
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 Kommentar
Akzeptierte Antwort
Steven Lord
am 13 Aug. 2020
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.
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!