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 =
Root-mean-square average =
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.