How do I select particular data from excel file
2 ビュー (過去 30 日間)
古いコメントを表示
I have an excel file with 2 colum title namely date and time , value. I want each date 14:30 value only. Is it possible to do so?
thanks in advance
0 件のコメント
採用された回答
Kevin Chng
2018 年 12 月 4 日
編集済み: Kevin Chng
2018 年 12 月 4 日
Yes. Try
a = readtable('test.xlsx');
b = a((hour(a.Date_Time)==14 & minute(a.Date_Time)==30),:)
Use logic to get the index of a when hour is 14 and minutes is 30.
Accept my answer if it is working for you.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!