title: correlation in matlab between two matrices
body: <p><img src="https://i.stack.imgur.com/c7eUQ.png" alt="enter image description here"></p>
  
  <p>Hi,</p>
  
  <ol>
  <li><p>I would like to create a correlation matrix between the two data set presented above that will ignore any appearances of zeros (in the picture above, the green color), anyone knows what is the most efficient way that will produce a smooth result?</p></li>
  <li><p>Is there any correlation method that can identify the similarity point by point and by thus the results will have the "shape" of the original matrix?</p></li>
  </ol>
  
  <p>thank u</p>
  
  <p>note: I do not have the matlab statistic toolbox</p>