How to extract data in excel file in matlab

3 visualizaciones (últimos 30 días)
David
David el 17 de Feb. de 2020
Editada: David el 24 de Feb. de 2020
]

Respuesta aceptada

David
David el 17 de Feb. de 2020
Thanks you so much for your help. Is that ind is the function code or something that i named before?

Más respuestas (1)

Bhaskar R
Bhaskar R el 17 de Feb. de 2020
data = readmatrix('2014-2015 KU Basketball.xlsx');
[val, ind] = max(data(:, 2));
game_num = data(ind, 1);
  3 comentarios
Bhaskar R
Bhaskar R el 17 de Feb. de 2020
ind is index of the maximum value in column 2. read https://in.mathworks.com/help/matlab/ref/max.html
David
David el 17 de Feb. de 2020
Oh i got it. Thanks you so much. It is really helpful

Iniciar sesión para comentar.

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by