Question: Need this in MATLAB Question 6 (10 points) Write a user defined function that calculates grade point average (GPA) on a scale of 0 to

Need this in MATLAB
Question 6 (10 points) Write a user defined function that calculates grade point average (GPA) on a scale of 0 to 4, where A-4, A--3.7, Bt-33, B-3, B-=2.7, Ct-2.3, C-2, C-=1.7, D+ 13, D-1, and E-0. For the function name and arguments, use av-GPA(&b). The input argument g is a vector whose elements are the numerical values of the grades. The input argument h is a vector with the corresponding credit hours. The output argument av is the calculated GPA. Use the function to calculate the GPA for a student with the following record: Credit Hours | A-1 3.ICJE APA Credit Hours 4 3 32 3 4 3 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
