フィルターのクリア

Is it possible to import an excel sheet with date&time and separate sheets by date

3 ビュー (過去 30 日間)
Stefan Azzopardi
Stefan Azzopardi 2018 年 10 月 18 日
コメント済み: dpb 2018 年 10 月 19 日
I have multiple monthly excel sheets each having a big number of columns and rows. The first column of each sheet contains the date and time for data taken every 5 mins for a month period. Is it possible that I import the sheet on matlab and save in different sheets for each day?
  2 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 18 日
upload your file
Stefan Azzopardi
Stefan Azzopardi 2018 年 10 月 18 日
This is an example of 3 days but I have similar for each day and for several months. I need to save 01/09/2018 on one excel sheet, 02/09/2018 on another sheet etc

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

採用された回答

dpb
dpb 2018 年 10 月 18 日
Sure, just read in and use the datetime data to group by day. See very similar Q? asked here Split data for each date
Note there are two ways to "skin the cat" there; one using a timeseries object and another just using the datetime data directly.
  2 件のコメント
Stefan Azzopardi
Stefan Azzopardi 2018 年 10 月 19 日
To be honest I have found that post previously but did not understand much of it. So the best way, correct me if I m wrong please, is to convert the table into a timetable and then try to use datetime dta directly?
dpb
dpb 2018 年 10 月 19 日
Probably the better way is the second, but either will work...

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by