Main Content

Root-mean-square level

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.