Filter löschen
Filter löschen

How can i convert excel file into array form in MATLAB

14 Ansichten (letzte 30 Tage)
Nadiah Zainudin
Nadiah Zainudin am 26 Sep. 2017
Kommentiert: KSSV am 26 Sep. 2017
Excel file consist of many data and i want to use array in MATLAB.

Akzeptierte Antwort

KSSV
KSSV am 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 Kommentare
Nadiah Zainudin
Nadiah Zainudin am 26 Sep. 2017
Okay and after reading the file, how do i input the array into the program?
KSSV
KSSV am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by