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

I was looking for a way to pull column B and C from multiple files and plotting on one single graph
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