How do you find peak to peak in Matlab?
y = peak2peak( x ) returns the difference between the maximum and minimum values in x . y = peak2peak( x , dim ) computes the maximum-to-minimum differences of x along dimension dim .
y = peak2peak( x ) returns the difference between the maximum and minimum values in x . y = peak2peak( x , dim ) computes the maximum-to-minimum differences of x along dimension dim .