Band power
returns
the average power computed by integrating the power spectral density
(PSD) estimate, p
= bandpower(pxx
,f
,'psd')pxx
. The integral is approximated
by the rectangle method. The input, f
, is a vector
of frequencies corresponding to the PSD estimates in pxx
.
The 'psd'
option indicates that the input is a
PSD estimate and not time series data.
returns
the average power contained in the frequency interval, p
= bandpower(pxx
,f
,freqrange
,'psd')freqrange
.
If the frequencies in freqrange
do not match
values in f
, the closest values are used. The
average power is computed by integrating the power spectral density
(PSD) estimate, pxx
. The integral is approximated
by the rectangle method. The 'psd'
option indicates
the input is a PSD estimate and not time series data.
[1] Hayes, Monson H. Statistical Digital Signal Processing and Modeling. New York: John Wiley & Sons, 1996.
[2] Stoica, Petre, and Randolph Moses. Spectral Analysis of Signals. Upper Saddle River, NJ: Prentice Hall, 2005.