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, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:20
Asimple rankine cycle uses water as the working fluid. the water enters the turbine at 10 mpa and 480c while the condenser operates at 6 kpa. if the turbine has an isentropic efficiency of 80 percent while the pump has an isentropic efficiency of 70 percent determine the thermal efficiency
Answers: 1
question
Engineering, 04.07.2019 19:10
With increases in magnification, which of the following occur? a. the field of view decreases. b. the ambient illumination decreases. c. the larger parts can be measured. d. the eyepiece must be raised.
Answers: 1
question
Engineering, 06.07.2019 03:20
An air-conditioning system consists of a heating section and an evaporative cooler. air enters the heating section at 10°c and 70 percent relative humidity at a rate of 30m^3/min, and it leaves the evaporative cooler at 20°c and 60 percent relatively humidity. if the air conditioning system operates at a total pressure of 98 kpa, determine (a) the temperature and relative humidity of the air when it leaves the heating section, (b) the rate of heat transfer in the heating section, and (c) the rate of water added to air in the evaporative cooler
Answers: 2
You know the right answer?
Write a MATLAB program in a script file that calculate the average, standard
deviation, and m...
Questions
question
World Languages, 19.03.2021 23:30
question
Medicine, 19.03.2021 23:30
question
Mathematics, 19.03.2021 23:30
question
Mathematics, 19.03.2021 23:30
question
Mathematics, 19.03.2021 23:30
question
History, 19.03.2021 23:30