Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

matlab help Practice File l Load the file grades3.dat into the matlab workspace.

ID: 3725112 • Letter: M

Question

matlab help

Practice File l Load the file grades3.dat into the matlab workspace. The file contains the HW scores for all students from a MEEN class. Each Column i a different HW (HW1-HW13) and the rows correspond to the students in the class. The value is the grade received for that student's particular HW submission. The output should look like: Enter a student number (1-53) to find the average for: 10 Student number 10 had a HW average of 66.23 Enter a HW number (1-13) to find the class average 1. Write and input statement that will prompt the useror: 2 to select which student(1-54) to get the HW average HW number 2 had an average of 83.74 for 2. Write a function, studentava, that will calculate the row average for that student and return the average 3. 4. Write an input statement that will prompt the user 5. Write a function, Hwavg, that will calculate the 6. Print the average and the HW number Print the average and the student number to select which HW(1-13) to get the average for average for that HW and return the average. 7. Finally find the average for all HW assignments and append that to the end of the grades3.dat file

Explanation / Answer

%Problem Statement: Calculate the cumilative GPA from the grade of the
%three courses.
%Input: i-number of classes
%Output:GPA- Culmilative GPA
Ask = input('How many classes are you taking?')
numClass = Ask
for i =1:numClass
TRANSCRIPT(i).CourseName = input('What is the Course Name?', 's' );
TRANSCRIPT(i).CourseNumber =input('What ss the Course Number?', 's');
TRANSCRIPT(i).CourseCredits = input('What is the Course Credits?');
TRANSCRIPT(i).CourseGrade = input('What is your grade in that class?');
function(GPA_Cumli) =
end