필터 지우기
필터 지우기

How to read and plot multiple Excel file

조회 수: 1 (최근 30일)
Khairul Afifi
Khairul Afifi 2014년 12월 19일
댓글: Khairul Afifi 2015년 1월 29일
Greetings,
I would like to know how can I read and plot the excel file from 1 Dec 2013 to 30 Dec 2013. The data for the excel file I wish to plot is N,E and Z as shown below.
<<
>>
I would like to also ask the function for a folder ?
For example. function for a single file can be written as
function [ndata,header] = ReadExcelv6(filename);
But how about function for a folder base on date ?
Thank you in advance.
  댓글 수: 2
Sara
Sara 2014년 12월 19일
look into
dir or ls
to get the names of the files in a folder. Then you can select only those within a certain range and use
xlsread
to read in only the columns you're interested in. makes sense?
Khairul Afifi
Khairul Afifi 2015년 1월 29일
Thank you, Sara.
I actually managed to plot the graph. Thank you for the feedback.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by