This class implements routines to calculate signal energy and power in time and frequency domain
This class implements routines to calculate signal energy and power in time and frequency domain.
static double power(const AudioCache& cache)
P = lim{n->infty} 1/(2*n+1) * sum{-n to n}( sqr( abs(x(n)) ) )
We have restricted n to the size of the audio cache!
static double energyFFT(const ComplexFFT::ComplexWave& wave, const uint32 samplingRate)
E = Integral{-samplingRate/2 to samplingRate/2}
( sqr(1/samplingRate) * sqr(abs(X(f))) ) df
samplingRate - used sampling rate
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de