I have data in multiple excel sheets. How do I import only certain columns only and plot the data.

I have multiple excel files in a folder. I would like to import only certain columns from those files and plot those columns in one single graph.

 採用された回答

range='B:C' % column B and C
xlsread('file.xlsx',range)

2 件のコメント

ghost
ghost 2016 年 4 月 12 日
I was looking for a way to pull column B and C from multiple files and plotting on one single graph
Tien Tran
Tien Tran 2016 年 4 月 12 日
A = zeros(1000,2); A(:,1) = xlsread('file1.xlsx',range); A(:,2) = xlsread('file2.xlsx',range); Hope it is useful

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

その他の回答 (0 件)

質問済み:

2016 年 4 月 8 日

コメント済み:

2016 年 4 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by