Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

RMS VI

NI LabVIEW 8.6 Help
June 2008

NI Part Number:
371361E-01

»View Product Info

Owning Palette: Probability and Statistics VIs

Installed With: Full Development System

Computes the root mean square (rms) of the input sequence X.

Details  Example

Use the pull-down menu to select an instance of this VI.

RMS (DBL)

X is the real input sequence. If X is empty, rms value is NaN.
rms value is the root mean square computed from 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.

RMS (CDB)

X is the complex input sequence. If X is empty, rms value is NaN.
rms value is the root mean square computed from the magnitudes 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.

RMS Details

The VI calculates rms value using the following equation:

where x is rms value and n is the number of elements in X.

Example

Refer to the Statistics Solver VI in the labview\examples\analysis\statxmpl.llb for an example of using the RMS VI.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit