How to extract data in excel file in matlab

13 ビュー (過去 30 日間)
David
David 2020 年 2 月 17 日
編集済み: David 2020 年 2 月 24 日
]

採用された回答

David
David 2020 年 2 月 17 日
Thanks you so much for your help. Is that ind is the function code or something that i named before?

その他の回答 (1 件)

Bhaskar R
Bhaskar R 2020 年 2 月 17 日
data = readmatrix('2014-2015 KU Basketball.xlsx');
[val, ind] = max(data(:, 2));
game_num = data(ind, 1);
  3 件のコメント
Bhaskar R
Bhaskar R 2020 年 2 月 17 日
ind is index of the maximum value in column 2. read https://in.mathworks.com/help/matlab/ref/max.html
David
David 2020 年 2 月 17 日
Oh i got it. Thanks you so much. It is really helpful

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

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by