Documentation of get_month2


Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)


Function Synopsis

outcell = get_month_name1(monind);

Help text


  outcell = get_month_name1(monind);

  monind = numeric index of an individual month (Jan = 1)


Listing of function get_month2

function outcell = get_month_name1(monind);
monind = mod(monind-1, 12)+1;
months = cell(12, 1);
months(1:4) = {'JAN', 'FEB', 'MAR', 'APR'};
months(5:8) = {'MAY', 'JUN', 'JUL', 'AUG'};
months(9:12) = {'SEP', 'OCT', 'NOV', 'DEC'};

outcell = months(monind);