Question: Task 2 ( of 2 ) Loading data into Matlab is a fairly simple process based on MATLAB's built - in functions / commands .

Task 2(of 2)
Loading data into Matlab is a fairly simple process based on MATLAB's built-in functions/commands.
Download the file ExamGrades.txt from the Canvas Page where you accessed this assignment
document. Put the file in the same folder where you will be developing and executing your MATLAB
script. Next, create a script called HW6p1_Task2_UCusername.m which begins with the following
two lines of code:
clear;
Exam = readmatrix("ExamGrades.txt");
The readmatrix command will bring in the Exam scores for 300 students and store the values for each
student in a 1D Array called Exam. Your task is to analyze the Exam data. Specifically, your script
should determine how many students got A's,B's,C's,D's and F's based on the grade ranges in the
following table:
Your script should then output to the command window, using the fprintf command, the number of
students who got A's,B's,C's,D's and F's on the Exam.
Test case:
If one were to analyze just the first 10 data points, the following output should be expected.
A count =1
B count =6
C count =1
D count =0
F count =2
 Task 2(of 2) Loading data into Matlab is a fairly simple

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!