divide data according to year, month, day

4 次查看(过去 30 天)
Hi guys
I have a set of datatime array data in the following format. I wanted to categorize them in groups acording to year, month and day. Does anyone know how to do this? Thanks in advance!
1x2 datetime array:
23-Aug-2018 12:23:52 15-Oct-2017 14:43:56

采纳的回答

Star Strider
Star Strider 2019-2-14
See if the findgroups (link) function (introduced in R2015b) will do what you want.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by