Write a matlab program, MATLAB Programming

Assignment Help:

Write a MATLAB program that calculates the arithmetic mean, the geometric mean, and the root-mean-square average for a given set of values.

Your program must use 3 functions to calculate the 3 required means. The output should be formatted as follows:
Your name
Statistical Package

arithmetic mean = x.xxxxx
geometric mean = x.xxxxx
RMS average = x.xxxxx

Background and Discussions:

2217_Write a MATLAB program.png

N number of values

Test your program on the following values: 1.1, 3.3, 3.00, 2.22, 2.00, 2.72, 4.00, 4.62 and 5.37. Your main program calls 3 functions.

The data should be read by the main program from a text file, stored in an array and then passed to the functions.

The results and any other output should be printed by the main program. Notice how the output results are aligned. Also notice that the results are printed accurate to 5 decimal places.


Related Discussions:- Write a matlab program

Discuss the frequency range and radiation angles, Discuss the frequency ran...

Discuss the frequency range / radiation angles at which the two models diverge, and relate this divergence to your understanding of the behaviour of a pistonic source. Compare t

Metlab, cAN Can I learn Metlab .I am X Scientist in DigitalCommunication. C...

cAN Can I learn Metlab .I am X Scientist in DigitalCommunication. Can U please help me.I know the programming concepts

Phase equilibrium, Do you have expert who can solve chemical engineering th...

Do you have expert who can solve chemical engineering thermodynamics chemical equilibrium MATLAB coding?

Monte carlo simulation, i need help with a monte carlo simulation. I have m...

i need help with a monte carlo simulation. I have most of the code, but I can''t get it to plot correctly

Structure tensor, How to calculate 2D/3D structure tensor of image

How to calculate 2D/3D structure tensor of image

Create a super mario brothers game application, Create a Super Mario Brothe...

Create a Super Mario Brothers game in Matlab. The lines of codes do not matter. But, The requirements are: REQUIREMENTS: Modular design and implementation Algorithm docu

Determine an expression for the transfer function, The circuit diagram of a...

The circuit diagram of an active filter is shown below. (a) Determine an expression for the transfer function of the filter. (b) Hence find an expression for the frequency res

Kurtosis, please send the matlab program to find mean,variance,standard dev...

please send the matlab program to find mean,variance,standard deviation and kurtosis for a set of values?

Need urgent help, i want to save the values of a particular equation in a f...

i want to save the values of a particular equation in a for loop.. for ex: for i=1:100 et=(x+yz); end thus how can i store the values of et at each iteration

2D steady state heat conduction, How do I compute and plot a temperature pr...

How do I compute and plot a temperature profile along the x axis from -6 to 6 given the equation for steady state heat conduction and boundary conditions

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd