corrmap correlation coefficients

This function returns correlation coefficients along any dimension of an N-dimensional data set.
1.1K Downloads
Updated 20 May 2019

View License

r = corrmap(A,y,dim) returns an (N-1)-dimensional array of correlation coefficients between y and A along dimension dim of A.
Note: This is version 1. It performs well for small data sets, but is somewhat slow for large data sets. The small examples in the demo file (size 3x4x1095) return a 3x4 map of correlation coefficients in 0.004133 seconds on my laptop. When testing with a larger 26x360x12000 data set, it takes my machine nearly a minute to return the 26x360 map. If you have suggestions for how to increase the speed of this function for large data sets, please let me know.

Cite As

Chad Greene (2024). corrmap correlation coefficients (https://www.mathworks.com/matlabcentral/fileexchange/46433-corrmap-correlation-coefficients), MATLAB Central File Exchange. Retrieved .

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

Inspired: downsample_ts

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.1

Added live scripts

1.1.0.0

Inclusion of demo file.

1.0.0.0