question: public static double [ ] computeLogPowerSpectrum ( final double [ ] signal ) { double [ ] spectrum = computePowerSpectrum ( signal ) ; for ( int i = 0 ; i < spectrum . length ; i ++ ) { spectrum [ i ] = MathUtils . db ( spectrum [ i ] ) ; } return spectrum ; }
target:  Convenience method for computing the log (dB) power spectrum of a real signal. The signal can be of any length; internally, zeroes will be added if signal length is not a power of two.