Energy-efficient power spectral analysis systems via algorithm-architecture co-design