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
Let A - you data
year1 = year(datenum(A,'dd.mm.yyyy'))

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by