MATLAB: How to convert number to string vector

numbers to string

I have three vectors representing years, months, and days:
a = [2014;2014];
b = [10;11];
c = [25; 24];
and at the very least I want to put them in a string vector such as:
Vector = ['2014_10_25' ; '2014_11_24']
I am unsure how to do this conversion. The best case would be an output of:
Vector = ['2014_Oct_25' ; '2014_Nov_24']
but my goal is to convert the year, month, and day numerical vectors into one string vector.

Best Answer

a = [2014;2014];
b = [10;11];
c = [25; 24];
x=[a b c zeros(numel(a),3) ]
out=datestr(x,'yyyy_mmm_dd')