time series
1 次查看(过去 30 天)
显示 更早的评论
Hello,
If I have two vectors in excel file:
col A 0.34 0.65 0.21 0.54 0.34 0.89 . .
col B (22/01/2012 08:10:30) (22/01/2012 08:11:30) (22/01/2012 08:12:30) (22/01/2012 08:13:30) . .
My question is how can I plot both vectors?
Thanks.
Best,
2 个评论
采纳的回答
Walter Roberson
2012-1-21
You can use datenum to convert the date/times to linear times. You can plot(B,A) and you can use datetick to cause the x axis to be shown as time.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calendar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!