目录
Signal Processing Toolbox Functions - By Category
Signal Generation and Preprocessing
Measurements and Feature Extraction
Parametric Spectral Estimation
Autoregressive and Moving Average Models
Signal Processing Toolbox Functions - By Category
Signal Generation and Preprocessing
Smoothing and Denoising
detrend |
Remove linear trends |
filloutliers |
Detect and replace outliers in data |
hampel |
Outlier removal using Hampel identifier |
isoutlier |
Find outliers in data |
medfilt1 |
1-D median filtering |
movmad |
Moving median absolute deviation |
movmedian |
Moving median |
sgolay |
Savitzky-Golay filter design |
sgolayfilt |
Savitzky-Golay filtering |
smoothdata |
Smooth noisy data |
Waveform Generation
chirp |
Swept-frequency cosine |
diric |
Dirichlet or periodic sinc function |
gauspuls |
Gaussian-modulated sinusoidal pulse |
gmonopuls |
Gaussian monopulse |
pulstran |
Pulse train |
randn |
Normally distributed random numbers |
rectpuls |
Sampled aperiodic rectangle |
sawtooth |
Sawtooth or triangle wave |
sin |
Sine of argument in radians |
sinc |
Sinc function |
square |
Square wave |
stem |
Plot discrete sequence data |
tripuls |
Sampled aperiodic triangle |
vco |
Voltage controlled oscillator |
buffer |
Buffer signal vector into matrix of data frames |
demod |
Demodulation for communications simulation |
modulate |
Modulation for communications simulation |
seqperiod |
Compute period of sequence |
shiftdata |
Shift data to operate on specified dimension |
unshiftdata |
Inverse of shiftdata |
strips |
Strip plot |
udecode |
Decode 2n-level quantized integer inputs to floating-point outputs |
uencode |
Quantize and encode floating-point inputs to integer outputs |
marcumq |
Generalized Marcum Q function |
Resampling
decimate |
Decimation — decrease sample rate by integer factor |
downsample |
Decrease sample rate by integer factor |
fillgaps |
Fill gaps using autoregressive modeling |
fillmissing |
Fill missing values |
interp |
Interpolation — increase sample rate by integer factor |
interp1 |
1-D data interpolation (table lookup) |
pchip |
Piecewise Cubic Hermite Interpolating Polynomial (PCHIP) |
resample |
Resample uniform or nonuniform data to new fixed rate |
spline |
Cubic spline data interpolation |
upfirdn |
Upsample, apply FIR filter, and downsample |
upsample |
Increase sample rate by integer factor |
Measurements and Feature Extraction
Descriptive Statistics
cummax |
Cumulative maximum |
cummin |
Cumulative minimum |
envelope |
Signal envelope |
max |
Maximum elements of an array |
mean |
Average or mean value of array |
meanfreq |
Mean frequency |
medfreq |
Median frequency |
median |
Median value of array |
min |
Minimum elements of an array |
movmad |
Moving median absolute deviation |
movmedian |
Moving median |
peak2peak |
Maximum-to-minimum difference |
peak2rms |
Peak-magnitude-to-RMS ratio |
rms |
Root-mean-square level |
rssq |
Root-sum-of-squares level |
seqperiod |
Compute period of sequence |
std |
Standard deviation |
var |
Variance |
alignsignals |
Align two signals by delaying earliest signal |
cusum |
Detect small changes in mean using cumulative sum |
dtw |
Distance between signals using dynamic time warping |
edr |
Edit distance on real signals |
findchangepts |
Find abrupt changes in signal |
finddelay |
Estimate delay(s) between signals |
findpeaks |
Find local maxima |
findsignal |
Find signal location using similarity search |
Pulse and Transition Metrics
dutycycle |
Duty cycle of pulse waveform |
midcross |
Mid-reference level crossing for bilevel waveform |
pulseperiod |
Period of bilevel pulse |
pulsesep |
Separation between bilevel waveform pulses |
pulsewidth |
Bilevel waveform pulse width |
statelevels |
State-level estimation for bilevel waveform with histogram method |
falltime |
Fall time of negative-going bilevel waveform transitions |
overshoot |
Overshoot metrics of bilevel waveform transitions |
risetime |
Rise time of positive-going bilevel waveform transitions |
settlingtime |
Settling time for bilevel waveform |