Question: Write a function called as Score_Percentage_Calculator which takes row vector of numbers that corresponds to the exam scores of a class. The function will return,

Write a function called as Score_Percentage_Calculator which takes row vector of numbers that corresponds to the exam scores of a class. The function will return, the percentage of students who gets scores under 40 in the exam. You are NOT allowed to use LOOPS in your solution. Example usages of the function is given below, Please upload your written function as a m.file (if.m file type is not supported, please upload your function as a txt file). score_vector - 49 45 65 71 75 28 68 66 16 12 >> per_stu = Score_Percentage_Calculator (score_vector) per_stu = 30 >> score_vector = round (rand(1,15) 100) score_vector = 50 96 34 59 22 75 26 51 70 89 96 55 14 15 26 >> per_stu = Score_Percentage_Calculator (score_vector) per_stu = Windows 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
