subject

Write a function called normalizeGrades that receives a row array of test scores of arbitrary length and positive values, and produces two outputs: A row array array containing the grades normalized to a linear scale from 0 to 100 (i. e. grades are normalized if the maximum grade equals 100). Hint: Use the internal function max. The average of the normalized grades. Hint: Use the internal function mean. Restriction: Loops may not be used. For example, following code: scores=[90, 45, 76, 21, 85, 97, 91, 84, 79, 67]; [normScores, average]=normalizeGrades(scores) produces: normScores=[92.78, 46.39, 78.35, 21.65, 87.63, 100, 93.81, 86.6, 81.44, 69.07] average= 75.77 Function Save Reset MATLAB DocumentationOpens in new tab function [ output_args ] = untitled( input_args ) % Takes a row array of test scores (arbitrary length, and positive values) % and produces two outputs: % grades: A row array grades containing normalized grades scores on a linear scale from 0 to 100. % average: A numeric number equaling the average of the normalized scores. % end 1 2 3 4 5 6 7 8 9 Code to call your function Reset % test dataset, use randi to generate others scores=[90, 45, 76, 21, 85, 97, 91, 84, 79, 67]; [ normScores, average ] = normalizeGrades( scores ) 1 2 3 Run Function

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Which of the following statements correctly identifies a problem with sanitization methods? a. methods are not available to remove data ensuring that unauthorized personnel cannot retrieve data.b. even fully incinerated media can offer extractable data.c. personnel can perform sanitization steps improperly.d. stored data is physically etched into the media.
Answers: 1
question
Computers and Technology, 22.06.2019 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
You know the right answer?
Write a function called normalizeGrades that receives a row array of test scores of arbitrary length...
Questions
Questions on the website: 13722363