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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started