In maximum covariance analysis, to extract correlated columns, it is asked to calculate the covariance matrix. For two vectors, corvariance matrix is understood, COV(v1,v2) = v1*v2'
How do I calculate Covariance matrix of two matrices? I failed to find a definition to compute it. Thanks in advance for help.
Here is some code the will generate the covariance matrix using Matlab built in function of coding it up yourself.
Output:
Code: