Question: 4 . [ 6 points. ] Structured Output II - Printing Tables. You should turn in one m - file for this problem. Recall that
points. Structured Output II Printing Tables. You should turn in one mfile for this problem.
Recall that in the lecture, we saw that textread provides a powerful way to read data from file. We saw that we can read all the file grades.txt using
id test test textreadgradestxts f f;
which stores the student id test scores, test scores into the vectors id test test Write a script gradeReportm that uses textread to read the data as above and then write a table showing the following information for each student: student id score for test score for test average score, and a letter grade corresponding to the average score to a file called output.txt Note that you will be using the function score from the previous class to get letter grades.
The output should look like the following, using the indicated format for the real numbers:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
