Excelから読み取った年月日の情報を区切り位置で分割する方法
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Koki Hashiguchi
il 6 Nov 2019
Commentato: Etsuo Maeda
il 8 Nov 2019
Excelの「区切り位置」機能のように、MATLAB上で年月日を分割することは出来ますでしょうか。
年月日の入ったExcelサンプルファイルと、年月日分割した後のイメージについて添付いたしますのでご教授願います。
0 Commenti
Risposta accettata
Etsuo Maeda
il 6 Nov 2019
Another Solution:
d = datetime('2019/11/6');
[d.Year, d.Month, d.Day]
HTH
4 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!