Maximumtominimum difference
Y = peak2peak(X)
Y = peak2peak(X,DIM)
returns the
difference between the maximum and minimum values in Y
= peak2peak(X
)X
. By default,
peak2peak
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 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, 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 maximumtominimum difference. The optional Default: First array dimension with size greater than 1 

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