title: How to calculate a single cross correlation coefficient of matrices A with other matrices B python?
body: <p>I have three matrices A B and C. I want to find which matrice (B &amp; C) have the best cross-correlation coefficient with the matrices A. </p>
  
  <pre><code>A=np.array([[1, 2, 4],[3, 4, 5],[1, 4, 5]])  
  B=np.array([[1, 1, 1], [1, 2, 4],[1, 4, 5]])   
  C=np.array([[1, 2, 4], [1, 1, 1],[1, 4, 5]]) 
  </code></pre>
  
  <p>scipy.correlate2d and numpy.corrcoef are giving matrice as output. I just need single correlation coefficient value so that I can find the more similar matrices to A.<br>
  Thank you for your answers in advance.</p>