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

Plot conour lines on the axes space , The following four 4 equations are ne...

The following four 4 equations are needed to be plotted as CONTOUR lines on the axes space (C, T) where C is the horizontal axis, and T is the vertical axis. Contour lines for

Numerical integration methods, The fundamental theorem of calculus states t...

The fundamental theorem of calculus states that the de?nite integral of a function may be found from the antiderivative of the function. However, for many functions, it is much eas

Compute the moments, Show (turn in) similar output images as in part 2 for ...

Show (turn in) similar output images as in part 2 for each of your new images (there is only 1 connected component in this case). Write three functions which compute the moments, c

Digging the dirt - autonomous mining robots , Digging the Dirt: Autonomous...

Digging the Dirt: Autonomous Mining Robots   Mining is a multi-billion dollar industry and a critical part of the Australian economy. Much of the day-to-day work on mining sites

Write a program to calculate and plot, This problem is intended to demonstr...

This problem is intended to demonstrate some problems that can arise from the finite precision of numerical calculations performed with computers.  We will do this by approximating

Creating row vectors, Creating row Vectors: There are many ways to gen...

Creating row Vectors: There are many ways to generate row vector variables. The most important way is to put the values which you want in the vector in square brackets, separa

Illustration of variable number of input arguments, Illustration of Variabl...

Illustration of Variable number of input arguments: In this situation, it was supposed that the radius will always be passed to the function. The function header can hence be

Plot the poles and zeros of the filter using zplane, A filter described by ...

A filter described by the equation:    y(n) = x(n) + x(n-1) + 0.9 y(n-1) - 0.81 y(n-2) (a) Find the transfer function H(z) for the filter and find the poles and zeros of the fil

Temperature dependence of vacancy concentrations, write a computer program ...

write a computer program that will provide a user with the equilibrium concentration of vacancies in a metallic element as a function of temperature.Temperature range should be men

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