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 comentarios

madhan ravi
madhan ravi el 1 de Nov. de 2018
Editada: madhan ravi el 1 de Nov. de 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
madhan ravi
madhan ravi el 1 de Nov. de 2018
Just copy and paste it here
Ok thank you
roberto rico
roberto rico el 1 de Nov. de 2018
Editada: roberto rico el 1 de Nov. de 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^

Iniciar sesión para comentar.

Respuestas (1)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Nov. de 2018

Respondida:

el 1 de Nov. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by