This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Descriptive Statistics

Peaks, RMS level, peak-to-peak amplitude, crest factor, dynamic time warping, CUSUM control chart, edit distance

Use findpeaks to locate the local maxima of a signal and sort the peaks by height, width, or prominence. Determine the crest factor of a signal using the peak2rms function and compute common descriptive statistics like maxima, minima, standard deviations, and RMS levels. Search for signals of interest in larger data sets and align signals in time. Locate points where a signal changes abruptly or drifts beyond a target range.


cummaxCumulative maximum
cumminCumulative minimum
envelopeSignal envelope
maxLargest elements in array
meanAverage or mean value of array
meanfreqMean frequency
medfreqMedian frequency
medianMedian value of array
minSmallest elements in array
movmadMoving median absolute deviation
movmedianMoving median
peak2peakMaximum-to-minimum difference
peak2rmsPeak-magnitude-to-RMS ratio
rmsRoot-mean-square level
rssq Root-sum-of-squares level
seqperiodCompute period of sequence
stdStandard deviation
alignsignalsAlign two signals by delaying earliest signal
cusumDetect small changes in mean using cumulative sum
dtwDistance between signals using dynamic time warping
edrEdit distance on real signals
findchangeptsFind abrupt changes in signal
finddelayEstimate delay(s) between signals
findpeaksFind local maxima
findsignalFind signal location using similarity search


Signal AnalyzerVisualize and compare multiple signals and spectra


RMS Value of Periodic Waveforms

Find the root mean square value of a sine wave, a square wave, and a rectangular pulse train.

Peak Analysis

Find peaks in a noisy signal, and measure their amplitude and the distance between them.

Find Peaks in Data

Locate the local maxima in a set of data and determine if those peaks occur periodically.


The prominence of a peak measures how much the peak stands out due to its intrinsic height and its location relative to other peaks.

Was this topic helpful?