Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SHOWW ALL MATLAB CODE (SCREENSHOT) Write a function called classAverage that takes in an array of numbers and, after normalizing the grades in such a

SHOWW ALL MATLAB CODE (SCREENSHOT)

Write a function called classAverage that takes in an array of numbers and, after normalizing the grades in such a way that the highest corresponds to 100, returns the letter grade of the class average. This curve is the same method used to generate normTests in Chapter Problem 2. The grade ranges are as follows:

average>= 90 => A

80<= average< 90 => B

70<= average< 80 => C

60<= average< 70 => D

average< 60 => F

For example: classAverage( [70 87 95 80 80 78 85 90 66 89 89 100] ) should return B Test your program for the following two cases:

classAverage( [50 90 61 82 75 92 81 76 87 41 31 98] )

classAverage( [10 10 11 32 53 12 34 74 31 30 26 22] )

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

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

Design a training session to maximize learning. page 296

Answered: 1 week ago

Question

Design a cross-cultural preparation program. page 300

Answered: 1 week ago