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. Label signals for analysis or machine and deep learning applications.

Functions

cummaxCumulative maximum
cumminCumulative minimum
envelopeSignal envelope
maxMaximum elements of an array
meanAverage or mean value of array
meanfreqMean frequency
medfreqMedian frequency
medianMedian value of array
minMinimum elements of an 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
varVariance
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
labeledSignalSetCreate labeled signal set
signalLabelDefinitionCreate signal label definition

Apps

Signal AnalyzerVisualize and compare multiple signals and spectra

Labeling Functionality

Signal LabelerLabel signals for analysis or machine and deep learning applications

Topics

RMS Value of Periodic Waveforms

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

Find Peaks in Data

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

Prominence

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

Featured Examples