Maximumtominimum difference
Y = peak2peak(X)
Y = peak2peak(X,DIM)
returns
the difference between the maximum and minimum values in Y
= peak2peak(X
)X
. peak2peak
operates
along the first nonsingleton dimension of X
by
default. For example, if X
is a row or column
vector, Y
is a realvalued scalar. If Y
is
an NbyM matrix with N>1, Y
is a 1byM row
vector containing the maximumtominimum differences of the columns
of X
.
computes
the maximumtominimum differences of Y
= peak2peak(X
,DIM
)X
along
the dimension, DIM
.

Real or complexvalued input vector or matrix. By default, 

Dimension for maximumtominimum difference. The optional Default: First nonsingleton dimension 

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