subject
Engineering, 23.03.2020 18:54 fheight01

Write a MATLAB program in a script file that calculate the average, standard
deviation, and median of a list of grades as well as the number of grades on
the list. The program asks the user (input command) to enter the grades as
elements of a vector. The program then calculates the required quantities
using 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.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 18:10
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
Answers: 3
You know the right answer?
Write a MATLAB program in a script file that calculate the average, standard
deviation, and m...
Questions
question
Geography, 16.11.2019 14:31
question
Social Studies, 16.11.2019 14:31
Questions on the website: 13722367