How can i convert excel file into array form in MATLAB

 Réponse acceptée

KSSV
KSSV le 26 Sep 2017

0 votes

You need to read the excel file data into MATLAB first. This can be achieved with Xlsread. Read the documentation of xlsread.

2 commentaires

Okay and after reading the file, how do i input the array into the program?
[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