conver catagorical to juliandate
1 次查看(过去 30 天)
显示 更早的评论
Hi, I just want to change catagorical data to julidandate
but I can not do that process right away
so i convert to categorical to double but answer is not i expected
what's mean 66? and how can i change juliandate
Thanks!
>> time1=table2array(time1);
>> time2=double(time1);
0 个评论
采纳的回答
Stephen23
2022-10-18
C = categorical({'2021-08-22','2021-08-21','2021-08-23','2021-08-22'})
double(C) % get the category indices
S = string(C) % get the category values
D = datetime(S);
J = juliandate(D)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Satellite Mission Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!