Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Normalize Grades Write a function normalizeGrades that receives a row array of test scores (arbitrary length, and positive values) and produces two outputs: 1. A

image text in transcribedimage text in transcribed

Normalize Grades Write a function normalizeGrades that receives a row array of test scores (arbitrary length, and positive values) and produces two outputs: 1. A row array array containing the grades normalized to a linear scale from 0 to 100. 2. The average of the normalized grades. Hint: Use the internal function mean to calculate the average. Restriction: Loops may not be used. For example, following code scores= [90, 45, 76, 21, 85, 97, 91, 84, 79, [grades, average-normalizeG rades (scores) 67]; produces grades= [92.78, average- 75.77 46.39, 78.35, 21.65, 87.63, 100, 93.81, 86.6, 81.44, 69.07] Your Function Save Reset MATLAB Documentation 1 function [ output-args ] -untitled ( input-args ) 2 %UNTITLED Summary of this function goes here 3 % Detailed explanation goes here 4 5 6 end

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

How can you defend against SQL injection attacks?

Answered: 1 week ago