Making a histogram with data from excel

11 ビュー (過去 30 日間)
Allend Botani
Allend Botani 2018 年 11 月 11 日
編集済み: madhan ravi 2018 年 11 月 11 日
I have an Excel document with data points. I have entered in
D=[2437, 2437, ..., 2411];
then i attempt to make a histogram with hist(D,10) but it says
error
variable D not known.
Didn't I just define D?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 11 月 11 日
[num,~,~]=xlsread('myexcelfile.xlsx') %if it doesn't work upload excel file
D=num;
histogram(D,10)

カテゴリ

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

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by