Filter löschen
Filter löschen

How to extract data in excel file in matlab

7 Ansichten (letzte 30 Tage)
David
David am 17 Feb. 2020
Bearbeitet: David am 24 Feb. 2020
]

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by