class="resources"
Computes the root mean square (rms) of the input sequence X. Details Example

![]() |
X is the input sequence. If X is empty, rms value is NaN. |
![]() |
rms value is the calculated root mean square value of the input sequence X. |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
The VI calculates rms value using the following equation.

where
x is rms value and n is the number of elements in X.
Refer to the Statistics Solver VI in the labview\examples\analysis\statxmpl.llb directory for an example of using the RMS VI.