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

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.

Posted Date: 5/7/2013 1:26:30 AM | Location : United States







Related Discussions:- Write a matlab program that calculates the arithmetic mean, Assignment Help, Ask Question on Write a matlab program that calculates the arithmetic mean, Get Answer, Expert's Help, Write a matlab program that calculates the arithmetic mean Discussions

Write discussion on Write a matlab program that calculates the arithmetic mean
Your posts are moderated
Related Questions

IIR filter using Bilinear trasformation

Variables and Assignment Statements: A variable is used in order to store a value in a MATLAB session, or in a program. The Workspace Window represents variables which have be

Illustration of Built-in functions and help: To find out what a specific function does and how to call it, type help and then the name of function. Illustration: >> help si

You will write functions • B=null basis(A,tol); • B=range basis(A,tol); The function null basis takes a matrix A as input, and outputs a basis for the null space of A, obtained via

How to Open Simpower: 1. Open MATLAB 2. In the "Command Window" write ' simulink ' and press Enter or click on the Simulink icon. 3. Simulink Library Browser w

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

conversion of decimal to binary

how to wrote the mat lab programme and analysized for different refrigerant using in cascade refrigeration system

Size function - Dimensions of matrix: For the matrix mat shown next, it has three rows and two columns, therefore the size is 3 × 2. The length is the larger dimension that is