how to call a column of data from excel into matlab

1 回表示 (過去 30 日間)
lowcalorie
lowcalorie 2012 年 5 月 8 日
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.

採用された回答

Srinivas
Srinivas 2012 年 5 月 8 日
yourdata = xlsread(your file name);
then you can process it
help mean
help xlsread
help importfile
  3 件のコメント
Oleg Komarov
Oleg Komarov 2012 年 5 月 8 日
Where is your excel file located?
Srinivas
Srinivas 2012 年 5 月 9 日
is 'RealEstate.xls' in the same folder, if not include path
yourdata = xlsread(your file name with complete path)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by