how to shift in timetable?

i have this timetable how can i shift date time to the nearest date without affecting timetable?

1 个评论

Please give a specific short example of what you would start with and what you want to end up with.

请先登录,再进行评论。

回答(2 个)

madhan ravi
madhan ravi 2018-10-31

0 个投票

See lag()
pooria mazaheri
pooria mazaheri 2018-11-1

0 个投票

i have this timetable
how can i lag this timetable to the nearest day? (the present day is "01-Mar-2018" & the nearest day is "06-Mar-2018")

1 个评论

What would you expect rows 4, 5, and 10 of the resulting lagged timetable to have as their Time information?
Midnight on March 2nd, March 7th, and March 7th respectively?
Midnight on March 2nd, March 6th (since 03:00 is before noon), and March 7th (since 13:36 is after noon)?
Or something else?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Line Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by