How to extract data in excel file in matlab
Show older comments
Accepted Answer
More Answers (1)
Bhaskar R
on 17 Feb 2020
data = readmatrix('2014-2015 KU Basketball.xlsx');
[val, ind] = max(data(:, 2));
game_num = data(ind, 1);
3 Comments
David
on 17 Feb 2020
Bhaskar R
on 17 Feb 2020
ind is index of the maximum value in column 2. read https://in.mathworks.com/help/matlab/ref/max.html
David
on 17 Feb 2020
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!