Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Root-mean-square level

`y = rms(x)`

`y = rms(x,dim)`

returns
the root-mean-square (RMS) level of the input, `y`

= rms(`x`

)`x`

. If
`x`

is a row or column vector, `y`

is a
real-valued scalar. For matrices, `y`

contains the RMS levels
computed along the first array dimension of x with size greater than 1. For example,
if `x`

is an *N*-by-*M* matrix
with *N* > 1, then `y`

is a
1-by-*M* row vector containing the RMS levels of the columns of
`x`

.

[1] IEEE Std 181. *IEEE ^{®} Standard on Transitions, Pulses, and Related Waveforms*.
2003.