Rms Function
Calculate the root mean
Description
The function \(Rms\) (Root mean square: RMS) calculates the root mean square
The root mean square or mean is calculated by taking the square root of the average squares of the individual elements.
Example of the square mean [2,5,3,6]
\(\displaystyle \sqrt{ \frac{2^2 + 5^2 +3^2 +6^2}{4}} = \) \(\displaystyle \sqrt{ \frac{4+25+9+36}{4}} = \) \(\displaystyle \sqrt{ \frac{74}{4}} = \) \(\displaystyle \sqrt{ 18.5} = \) \(\displaystyle 4.30\)
Syntax
Rms (List)
Example
a=[2,5,3,6]
Rms(a)= 4.3