Question: write a live script that contains sample data that looks like this: testScores 1 = [ 9 0 1 3 4 5 7 6 2

write a live script that contains sample data that looks like this:
testScores1=[90134576218597918479677672899555508891];
testScores2=[90-134576218597918479677672899555508891];
testScores3=[901345762185979184796776728910555508891W]w;
The script will call a local function ScaleGrades that takes as input a
vector of test scores (in the range 0 to 100) and linearly scales them so that the
maximum score in the vector is 100. The function returns the vector of scaled scores.
A variable called scaledTestScores is used in the script to accept the vector that is
returned by your function.
To solve the problem you may use any or all of the following built-in MATLAB functions:
length, min, max, and sort. You can use the help command to see how these work.
Run the script with each of the three sets of test scores. Note that testScores2 and
testScores3 have exceptional values (negative or greater than 100). Decide how your
script and function should handle these cases and include comments that explain the
choice you have made

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!