Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

matlab - There are 10 students who are taking a course. - Course has 3 equally weighted exam. Each student will have a random grade

matlab image text in transcribed
- There are 10 students who are taking a course. - Course has 3 equally weighted exam. Each student will have a random grade for each exam. - Following code template explains the program. You do not have to use the template. You may write your own format that results same. function students () global M; global N; [M N] =size (grades) ; 1 Call studentAverage function here - i Call maxzxamGrades function here - Call writatoFile function here A Following function will write data 1 that is on the right figure 1. to "Grades. txe". 6 INPUT ARGUMENT EXPIANATYON OE THE FUNCTION: - grades: 3 exam graded for 10 ytudents I stud_av: Average of each student. I m: Max grade of each exam function writeToFile (grades, stud_av, m ) Average of the class: 49.80 Max grade of exam1: 90 Max grade of exam2: 95 Max grade of exam3: 74 end function stud_avmstudentAverage(grades) Use this function to calculate the and average of each student, atud_av vector 7. is output afgument. function m-maxExamGrades (grades)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

6. How do histories influence the process of identity formation?

Answered: 1 week ago