Question: This is in Matlab code Write a function that accepts an input vector of integer exam scores and outputs a two column cell array with
This is in Matlab code
Write a function that accepts an input vector of integer exam scores and outputs a two column cell array with the same number of rows as the input vector. Each cell in the first column should contain a score from the input vector. The cells in the second column should have strings that give the corresponding letter grade according to the following grading scale:
Score values ranging from 90 to 100 receive an A.
Score values ranging from 80 to 89 receive a B.
Score values ranging from 70 to 79 receive a C.
Score values ranging from 60 to 69 receive a D.
Score values ranging from 0 to 59 receive an F.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
