How to extract data in excel file in matlab
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
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
2020-2-17
ind is index of the maximum value in column 2. read https://in.mathworks.com/help/matlab/ref/max.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!