I have a colume with DD.MM.YYYY now I want to get YYYY in this colume. How can I do it with matlab? Thank you a lots

 採用された回答

Andrei Bobrov
Andrei Bobrov 2016 年 5 月 18 日
編集済み: Andrei Bobrov 2016 年 5 月 18 日

0 投票

Let A - you data
year1 = year(datenum(A,'dd.mm.yyyy'))

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2016 年 5 月 18 日

編集済み:

2016 年 5 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by