How to extract data according to date ?
3 次查看(过去 30 天)
显示 更早的评论
I have a large file containing data for one whole month. I have two separate column vectors of data where one is timestamp in the form '2016-02-01 00:19:09 ' and second vector is Vtec data. I want to analyse the data by days. I want to select the data for first 4 days and with corresponding Vtec data and then plot the graph and then next 4 days until I complete the month. I was using this code but it is giving me a error
idx = ( '2016-02-01 00:19:09 '<= TM2 & TM2 <'2016-02-05 00:00:00 ' );
Any suggestions on this matter will be highly appreciated.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!