corr columns

Quickly compute the column by column correlation between two large matrices
411 téléchargements
Mise à jour 19 oct. 2012

Afficher la licence

Use corr_col to quickly compute the column by column correlation between two large matrices that would be to large to compute using diag(corr(A,B))

C=CORR_COL(A, B) computes the correlation for each column in A of the congruent column in matrix B. A and B must be identical in size

C=CORR_COL(A, B, dim) computes the correaltions for the dimension specified in dim

This function produces nearly identical values as diag( corr( A,B )) but can be run on matrices that might be too large for diag( corr( A,B ))

The most up to date version of this code can be found at:
https://github.com/slayton/matlab-corr-col

Citation pour cette source

Stuart Layton (2025). corr columns (https://www.mathworks.com/matlabcentral/fileexchange/38658-corr-columns), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2012b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0