Write a matlab program that calculates the arithmetic mean, MATLAB Programming

Assignment Help:

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

The output should be formatted as follows:

Your name

Statistical Package

arithmetic mean =     x.xxxxx

RMS average =         x.xxxxx

Background and Discussions:

Arithmetic mean = 2215_Write a MATLAB program that calculates the arithmetic mean.png

Root-mean-square average =  2097_Write a MATLAB program that calculates the arithmetic mean1.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, and 4.72.

The data should be read by the program from a text file, and stored in an array.

You may want to find the answer by hand calculations and compare them with results from your program.


Related Discussions:- Write a matlab program that calculates the arithmetic mean

Input in a for loop, Input in a for Loop: The script below repeats the...

Input in a for Loop: The script below repeats the process of prompting the user for a number, and echo printing the number (that means simply printing it back out). A for loop

User-defined function, Your functions will allow you to create the followin...

Your functions will allow you to create the following graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and t

#title.the number of pixels related to the actual phase, #question.i want t...

#question.i want to know the number of pixels related to the actual phase value and want to separate the zero phase valued pixels from the image..

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

Develop and submit a power-based mc snr, a) Develop and submit a power-base...

a) Develop and submit a power-based MC "SNR" simulator (derived from the voltage-based SNR program provided in MS Powerpoint file) that: i) Uses the following Input: Time period

String manipulation, String Manipulation: The string in MATLAB softwar...

String Manipulation: The string in MATLAB software consists of any number of characters and is contained in the single quotes. Actually, strings are considered as vectors in w

Two phase moving boundary problem, This problem description is taken from I...

This problem description is taken from Illingworth and Golosnoy [1]: For physical systems of inhomogeneous composition, di usion is often observed to cause a change of phase, even

Function functions, Function Functions: The one reason for using funct...

Function Functions: The one reason for using function handles is to be able to pass functions to the other functions-these are known as function functions. For illustration

Hold and legend function - plot functions, Hold and legend function: ...

Hold and legend function: hold: is a toggle which freezes the present graph in the figure window, so that the new plots will be superimposed on the present one. Just hold

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