Retrieve actual values from histogram

1 回表示 (過去 30 日間)
Muzoun Alnaqbi
Muzoun Alnaqbi 2020 年 8 月 12 日
コメント済み: Muzoun Alnaqbi 2020 年 8 月 13 日
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 件のコメント
hosein Javan
hosein Javan 2020 年 8 月 12 日
the data of "w" is lost and yet the figure is present?

サインインしてコメントする。

採用された回答

Steven Lord
Steven Lord 2020 年 8 月 13 日
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.
  1 件のコメント
Muzoun Alnaqbi
Muzoun Alnaqbi 2020 年 8 月 13 日
yes I meant values in x-axis, thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by