Write a MATLAB program in a script file that calculate the average, standarddeviation

Chapter 4, Problem 6

(choose chapter or problem)

Write a MATLAB program in a script file that calculate the average, standarddeviation, and median of a list of grades as well as the number of grades onthe list. The program asks the user (input command) to enter the grades aselements of a vector. The program then calculates the required quantitiesusing MATLAB's built-in functions length, mean, std, and median.The results are displayed in the Command Window in the following format:"There are XX grades." where XX is the numerical value."The average grade is XX." where XX is the numerical value."The standard deviation is XX." where XX is the numerical value."The median grade is XX." where XX is the numerical value.Execute the program and enter the following grades: 92, 74, 53, 61, 100, 42,80, 66, 71, 78, 91, 85, 79, and 68.

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back