I\'m pretty lost with this problem especially having it print out in the specifi
ID: 3533077 • Letter: I
Question
I'm pretty lost with this problem especially having it print out in the specified format using the fprintf function using MATLAB.
Create the code to help calculate a students GPA for a semester using arrays of structure variables. The script portion of this should call a function that will allow the user to enter the course information for a semester, then call a function to calculate and return the GPA for this semester and total number of credits earned this semester, and finally output the courses taken, and a summary. The summary should contain the total number of courses taken, the total credits, and the GPA for the semester.. Only one fprintf should be used for the course listing (you may use another one for the summary). Your output should be something like
CMPSC 200 Programming for Engineers with MATLAB 3 credits A
MATH 140 Calculus with Analytic Geometry 1 4 credits C
CHEM 012 Chemical Principles II 3 credits B
HIST 002 The Western Heritage II 3 credits B
You took 4 courses for 13.0 credits and 2.92 GPA.
Your first function should not have any function inputs but will return an array of structure variables. This function should employ a loop prompt the user to enter the course abbreviation (