Excelから読み取った年月日の情報を区切り位置で分割する方法
5 views (last 30 days)
Show older comments
Koki Hashiguchi
on 6 Nov 2019
Commented: Etsuo Maeda
on 8 Nov 2019
Excelの「区切り位置」機能のように、MATLAB上で年月日を分割することは出来ますでしょうか。
年月日の入ったExcelサンプルファイルと、年月日分割した後のイメージについて添付いたしますのでご教授願います。
0 Comments
Accepted Answer
Etsuo Maeda
on 6 Nov 2019
Another Solution:
d = datetime('2019/11/6');
[d.Year, d.Month, d.Day]
HTH
4 Comments
More Answers (1)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!