PeakmagnitudetoRMS ratio
Y = peak2rms(X)
Y = peak2rms(X,DIM)
returns the
ratio of the largest absolute value in Y
= peak2rms(X
)X
to the rootmeansquare
(RMS) value of X
. By default, peak2rms
operates along the first array dimension of X
with size greater
than 1. For example, if X
is a row or column vector,
Y
is a realvalued scalar. If X
is an
NbyM matrix with
N > 1, Y
is a
1byM row vector containing the peakmagnitudetoRMS levels of
the columns of Y
.
computes
the peakmagnitudetoRMS level of Y
= peak2rms(X
,DIM
)X
along the
dimension, DIM
.

Real– or complexvalued input vector, matrix, or See Run MATLAB Functions on a GPU (Parallel Computing Toolbox) and GPU Support by Release (Parallel Computing Toolbox) for
details on 

Dimension for peakmagnitudetoRMS ratio. The optional Default: First array dimension with size greater than 1 

PeakmagnitudetoRMS ratio. For vectors, 
[1] IEEE^{®} Standard on Transitions, Pulses, and Related Waveforms, IEEE Standard 181, 2003.