rms
Root mean square value
Description
returns
the root mean square (RMS) value of the input, y = rms(x)x.
If
xis a row or column vector, thenyis a real-valued scalar.If
xis a matrix, thenyis a row vector containing the RMS value for each column.If
xis a multidimensional array, thenycontains the RMS values computed along the first array dimension whose size does not equal 1. The size ofyin this dimension is1, while the sizes of all other dimensions remain the same as inx.
returns the RMS value of all elements in y = rms(x,"all")x.