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
引用格式
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. 检索来源 .
MATLAB 版本兼容性
创建方式
R2020b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |