Power spectral estimation with error bars
This procedure calculates the averaged single-sided power spectrum with proper normalization, so that if the signal is given in volts, the value is truely the power. It uses multiple tapers to window the data, and thereafter performs a padding. The procedure is inspired by the procedure from the chronux.org software package.
The averaging is taken over both the trials and over multiple tapers (estimates of spectrum for a single trial). These different estimates of the spectrum is also use to calculate standard error of the estimates by boot strap technique.
Cite As
Rune W Berg (2024). Power spectral estimation with error bars (https://www.mathworks.com/matlabcentral/fileexchange/24831-power-spectral-estimation-with-error-bars), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.