Question: write matlab code 2) Student scores 70 80 75 50 90 96 60 68 56 99 40 78 Using for loop: a) create a variable

 write matlab code 2) Student scores 70 80 75 50 90

write matlab code 2) Student scores 70 80 75 50 90 96 60 68 56 99 40 78 Using for loop: a) create a variable called avg_all that calculates the average of all student scores. b) create a variable called avg_pass that calculates the average of the students who pass (>=60) the class only. (Any score less than 60 needs to be neglected) 3) Create the following matrix using for nested loops 1 1 1 x = 2 2 2 3 3 3 4) Create a for loop that allows the user to input a number and it gives back the number's factorial. 5) Create the following vector using for loop x=[22 24 26 28 210]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!