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 commentaires

madhan ravi
madhan ravi le 1 Nov 2018
Modifié(e) : madhan ravi le 1 Nov 2018
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
Ok thank you
roberto rico
roberto rico le 1 Nov 2018
Modifié(e) : roberto rico le 1 Nov 2018
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)
this is my code^

Connectez-vous pour commenter.

Réponses (1)

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by