y =
peak2rms (x)
¶y =
peak2rms (x, dim)
¶Compute the ratio of the largest absolute value to the root-mean-square (RMS) value of the vector x.
If x is a matrix, compute the peak-magnitude-to-RMS ratio for each column and return them in a row vector.
If the optional argument dim is given, operate along this dimension.
See also: max, min, peak2peak, rms, rssq.
Package: signal