Cumulative Areawise Testing in Wavelet Analysis

Preforms the cumulative areawise test


Updated 29 Jul 2015

View License

The code is used to implement the cumulative areawise test on geometric pathways in the wavelet domain, where geometric pathways are a nested sequence of patches together with normalized areas. Patches are defined as contiguous regions of pointwise significance and the normalized areas are calculated by dividing the area of the patch by the square of the scale-coordinate of its centroid. The procedure can applied to pathways in wavelet power, wavelet coherence, and wavelet partial coherence spectra. Additionally, for wavelet power spectra, the procedure can be applied to wavelet spectra obtained using the Morlet, Paul, and DOG analyzing wavelets. The critical level of the test needs to be calculated using Monte Carlo methods; however, three files containing the null distributions for the Morlet, Paul, and DOG wavelets are provided and are directly loaded when the code is run. The null distributions are only valid for the default values and so different null distributions must be calculated if non-default values are used. See the demo file to learn how different null distributions are calculated.
The code is a modified version of the code written by A. Grinsted available at and that written by Eric K. W. Ng available at The user should download those software packages, as they are required to run the cumulative areawise testing software. The user should also download the code written by C. Torrence and G. Compo ( The also requires the geometric significance testing software available on File Exchange (
Schulte, J. A.: Cumulative areawise testing in wavelet analysis and its application to geophysical time series, Nonlin. Processes Geophys. Discuss., 2, 1227-1273, doi:10.5194/npgd-2-1227-2015, 2015.

Cite As

Justin Schulte (2023). Cumulative Areawise Testing in Wavelet Analysis (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Upload wrong files