Borrar filtros
Borrar filtros

How can i convert excel file into array form in MATLAB

14 visualizaciones (últimos 30 días)
Nadiah Zainudin
Nadiah Zainudin el 26 de Sept. de 2017
Comentada: KSSV el 26 de Sept. de 2017
Excel file consist of many data and i want to use array in MATLAB.

Respuesta aceptada

KSSV
KSSV el 26 de Sept. de 2017
You need to read the excel file data into MATLAB first. This can be achieved with Xlsread. Read the documentation of xlsread.
  2 comentarios
Nadiah Zainudin
Nadiah Zainudin el 26 de Sept. de 2017
Okay and after reading the file, how do i input the array into the program?
KSSV
KSSV el 26 de Sept. de 2017
[num,txt,raw] = xlsread(filename) ;
num is the data of numbers you had in excel...you can do what ever you want with that.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by