The peak to peak of a vector is returned. The value is computed as distance between the mean positive peaks and the mean troughs. If the signal is noisy then the peaks and valleys in the noise will be averaged into the result so smooth you signal first.
Robert Lobbia (2021). Peak to Peak of signal (https://www.mathworks.com/matlabcentral/fileexchange/20314-peak-to-peak-of-signal), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!