rms
Root-mean-square value
Description
returns the root-mean-square (RMS) value of the input,y
= rms(x
)x
.
If
x
is a row or column vector, theny
is a real-valued scalar.If
x
is a matrix, theny
is a row vector containing the RMS value for each column.If
x
is a multidimensional array, theny
contains the RMS values computed along the first array dimension of size greater than 1. The size of this dimension is1
while the sizes of all other dimensions remain the same asx
.