How to loop time ( hours and minutes ) in a data set
3 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am working with a 264,xxx *12 dataset, I imported them to matlab as column vectors due to the nature of the sampling the intervals range from 5 to 30 seconds in a 4 hour span for example 6 to 10 pm. I want to achive two things A) be able to average the observations to the minute, b) be able to do a time series graph between y1...y4 vs x(time). My question is where I can find information to do this on matlab?
Thanks in advance
0 个评论
回答(1 个)
Star Strider
2020-8-10
4 个评论
Star Strider
2020-8-10
The fillmissing function may do what you want. Also note that the retime method argument has the ability to fill missing data. I have no idea what your data are, so I can’t make specific recommendations beyond these.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!