how to shift in timetable?

1 次查看(过去 30 天)
pooria mazaheri
pooria mazaheri 2018-10-31
i have this timetable how can i shift date time to the nearest date without affecting timetable?
  1 个评论
Peter Perkins
Peter Perkins 2018-10-31
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
See lag()

pooria mazaheri
pooria mazaheri 2018-11-1
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 个评论
Steven Lord
Steven Lord 2018-11-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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Calendar 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by