Cumulative Power Spectrum Computation with Matlab
Version 1.0.0 (3.33 KB) by
Hristo Zhivomirov
Aggregated or short-time cumulative power spectrum computation as a supportive tool for the classical spectral analysis.
The present code is a pair of Matlab functions that provide a computation of the cumulative (integrated) power spectrum of a signal. Two functions are developed – one for the aggregated cumulative power spectrum computation and one for the short-time cumulative power spectrum.
The cumulative spectrum is an alternative (and often insightful) way of presenting the information given by the traditional spectral analysis. At each frequency, the cumulative line spectrum gives the percent power accumulated up to that particular frequency. By definition, the y-axis on the cumulative spectrum plot starts at 0% and ends at 100%.
Two examples are given to clarify the usage of the functions. For convenience, the input and output arguments are given at the beginning of each function.
The codes are based on the theory described in:
[1] D. Koenig. Spectral Analysis of Musical Sounds with Emphasis on the Piano. Cambridge, Oxford University Press, 2015
Cite As
Hristo Zhivomirov (2024). Cumulative Power Spectrum Computation with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/160103-cumulative-power-spectrum-computation-with-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |