# Spectral Measurements

Channel power, bandwidth, mean frequency, median frequency, harmonic distortion

Use `obw` and `powerbw` to find the 90% occupied and 3-dB bandwidths of a signal. Compute the mean or median frequency of a power spectrum. Estimate the power over a given frequency band. Measure harmonic distortion. Estimate instantaneous bandwidth, instantaneous frequency, spectral entropy, and spectral kurtosis.

## Functions

expand all

 `bandpower` Band power `enbw` Equivalent noise bandwidth `instbw` Estimate instantaneous bandwidth (Since R2021a) `instfreq` Estimate instantaneous frequency `meanfreq` Mean frequency `medfreq` Median frequency `obw` Occupied bandwidth `pentropy` Spectral entropy of signal `pkurtosis` Spectral kurtosis from signal or spectrogram `powerbw` Power bandwidth `spectralCrest` Spectral crest for signals and spectrograms `spectralEntropy` Spectral entropy for signals and spectrograms `spectralFlatness` Spectral flatness for signals and spectrograms `spectralKurtosis` Spectral kurtosis for signals and spectrograms `spectralSkewness` Spectral skewness for signals and spectrograms `signalFrequencyFeatureExtractor` Streamline signal frequency feature extraction (Since R2021b) `signalTimeFrequencyFeatureExtractor` Streamline signal time-frequency feature extraction (Since R2024a)
 `sfdr` Spurious free dynamic range `signalTimeFeatureExtractor` Streamline signal time feature extraction (Since R2021a) `sinad` Signal to noise and distortion ratio `snr` Signal-to-noise ratio `thd` Total harmonic distortion `toi` Third-order intercept point