title: Difference in between Covariance and Correlation Matrix
body: <p>In Matlab, I have created a matrix A with size <code>(244x2014723)</code> 
  and a matrix B with size <code>(244x1)</code></p>
  
  <p>I was able to calculate the correlation matrix using <code>corr(A,B)</code> which yielded in a matrix of size <code>2014723x1</code>. So, every column of matrix A correlates with matrix B and gives one row value in the matrix of size <code>2014723x1</code>.</p>
  
  <p>My question is when I ask for a covariance matrix using <code>cov(A,B)</code>, I get an error saying A and B should be of same sizes. Why do I get this error? How is the method to find <code>corr(A,B)</code> any different from <code>cov(A,B)</code>? </p>