How to extract data in excel file in matlab

조회 수: 13 (최근 30일)
David
David 2020년 2월 17일
편집: David 2020년 2월 24일
]

채택된 답변

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?

추가 답변 (1개)

Bhaskar R
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
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

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

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by