How to import an excel spreadsheet into matlab
Solved
malak
-
ben -
ben -
Hello,
please I would like to work on a multiple linear regression using Matlab but I don't know how to extract data from an Excel file and import it into Matlab. I used the xlsread function but it didn't work. Thank you for the help.
please I would like to work on a multiple linear regression using Matlab but I don't know how to extract data from an Excel file and import it into Matlab. I used the xlsread function but it didn't work. Thank you for the help.
Configuration: Windows XP Internet Explorer 6.0
6 réponses
Hello
xlsread works very well.
* text is a cell array of strings. Its cells are the strings from the cells of the Excel table
* tab is a cell array whose cells are those of the Excel table
See you later
--
Thought I heard a rumbling, calling to my name
Two hundred million guns are loaded, Satan cries "Take aim!"
xlsread works very well.
[num, txt, tab] = xlsread('file.xls'); * num is the matrix containing the values of all the numerical cells in the Excel table * text is a cell array of strings. Its cells are the strings from the cells of the Excel table
* tab is a cell array whose cells are those of the Excel table
See you later
--
Thought I heard a rumbling, calling to my name
Two hundred million guns are loaded, Satan cries "Take aim!"
you really helped me.