corr columns

版本 1.0.0.0 (1.7 KB) 作者: Stuart Layton
Quickly compute the column by column correlation between two large matrices
409.0 次下载
更新时间 2012/10/19

查看许可证

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

引用格式

Stuart Layton (2024). corr columns (https://www.mathworks.com/matlabcentral/fileexchange/38658-corr-columns), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0