How to extract data in excel file in matlab

 채택된 답변

David
David 2020년 2월 17일

0 개 추천

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일

0 개 추천

data = readmatrix('2014-2015 KU Basketball.xlsx');
[val, ind] = max(data(:, 2));
game_num = data(ind, 1);

댓글 수: 3

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?
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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

질문:

2020년 2월 17일

편집:

2020년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by