Code covered by the BSD License  

Highlights from
corr columns

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1.65 KB File ID: #38658
image thumbnail

corr columns

by

 

Quickly compute the column by column correlation between two large matrices

| Watch this File

File Information
Description

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

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us