Peak to Peak of signal

Returns the peak to peak magnitude of a signal.
2K Downloads
Updated 17 Jun 2008

No License

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.

Cite As

Robert Lobbia (2025). Peak to Peak of signal (https://se.mathworks.com/matlabcentral/fileexchange/20314-peak-to-peak-of-signal), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0