fast_corr
Version 1.1.0.0 (2.09 KB) by
Elliot Layden
Rapidly calculates column-wise Pearson correlations between large matrices using a vectorized method
For two matrices, each containing 100 observations and 1000 variables
-fast_corr finishes over 6x times faster than using corr.m within a for loop
-fast_corr finishes over 11x faster than using corr.m to compute the full correlation matrix
Cite As
Elliot Layden (2024). fast_corr (https://www.mathworks.com/matlabcentral/fileexchange/63082-fast_corr), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Descriptive Statistics in Help Center and MATLAB Answers
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.