how to call a column of data from excel into matlab

5 visualizzazioni (ultimi 30 giorni)
I need to take the mean median and mode from a column of data in excel
first i tried using fopen filename but i keep getting back -1
xlsread RealEstate.xls ??? Error using ==> xlsread at 214 XLSREAD unable to open file RealEstate.xls. File C:\Program Files\Dell\DellDock\RealEstate.xls not found.

Risposta accettata

Srinivas
Srinivas il 8 Mag 2012
yourdata = xlsread(your file name);
then you can process it
help mean
help xlsread
help importfile
  3 Commenti
Oleg Komarov
Oleg Komarov il 8 Mag 2012
Where is your excel file located?
Srinivas
Srinivas il 9 Mag 2012
is 'RealEstate.xls' in the same folder, if not include path
yourdata = xlsread(your file name with complete path)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by