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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1160153/image.jpeg)
>> 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!