Write a menu driven Matlab script named grades that will let the user:
(i) Enter the number of grades to be read;
(ii) Stores them in an array named grade,
(iii) Displays the whole array,
(iv) Saves the sorted list in an array named sortedGrades
(v) Finds/calculates maximum and average and displays them with two decimal place accuracy.
Note:
(i) Your program should include error catching/correction capabilities for part (i) and the menu selection process, e.g. cannot select 4 before 1.