im trying to calculate average grades using matlab

</matlabcentral/answers/uploaded_files/139114/Screenshot%20(3).png> how would i do an average grade i know id have to do individualgrade=(mp+IDQ+midterm) then do team grade=() and then do finalgrade=(individualgrade+teamgrade) but for each grade id have to get an average the multiplt by its weight??

7 Comments

Screenshot won’t help , upload your code
Oh ok I took a screen shot of the code but how do I upload the code ?
Sorry I'm fairly new to matlab
Just copy and paste it here
if true
% code
endgwidq=(.5*20)
gwmp=(.5*5)
gwpreapp=(25*.5)
gwmidterm=(.5*30)
gwteamDQ=(.5*40)
gwAE=(.5*60)
idq=(70*gwidq)
mp=(88.89*gwmp)
preapp=(92.5*gwpreapp)
midterm=(60*gwmidterm)
teamDQ=(96.25*gwteamDQ)
AE=(85.71*gwAE)
individuaGrade=(idq+mp+preapp+midterm)
TeamGrade=(teamDQ+AE)
FinalGrade=(individuaGrade+TeamGrade)

Sign in to comment.

Answers (1)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Asked:

on 1 Nov 2018

Answered:

on 1 Nov 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!