How to extract data in excel file in matlab
4 views (last 30 days)
Show older comments
]
0 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
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
See Also
Categories
Find more on Data Import from MATLAB 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!