I am knew to matlab and am required to write and test a function that converts numerical month of the year to the name of that month(Assuming 1=January to 12=December). I have to do 3 variations of this, one with "if", one with "else if" and the other with "switch". I would just like to know which function would be suitable to perform this operation.
MATLAB: How to write a function to convert numerical month of the year to the name of that month
homeworkif statementmatlab functionmonthmonth namename
Best Answer