Effacer les filtres
Effacer les filtres

How can i convert excel file into array form in MATLAB

8 vues (au cours des 30 derniers jours)
Nadiah Zainudin
Nadiah Zainudin le 26 Sep 2017
Commenté : KSSV le 26 Sep 2017
Excel file consist of many data and i want to use array in MATLAB.

Réponse acceptée

KSSV
KSSV le 26 Sep 2017
You need to read the excel file data into MATLAB first. This can be achieved with Xlsread. Read the documentation of xlsread.
  2 commentaires
Nadiah Zainudin
Nadiah Zainudin le 26 Sep 2017
Okay and after reading the file, how do i input the array into the program?
KSSV
KSSV le 26 Sep 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by