# MATLAB: How to change [jul15,jul16,jul17] to [7.15,7.16,7.17]

datesformat

Hello, so I have a vertical array of imported excel data that are in the format "Jul15, Jul16, Jul17, etc…" I would like to know how to change every element to its respective date in number format ("7.15,7.16.7.17). I think that one way to approach this would be to first insert a space after the third character, then it would be easier to manipulate

x = ['Jul15'; 'Jul16'; 'Aug06'; 'Dec24'];newx = datestr(datevec(x, 'mmmdd'), 'mm.dd')