title: How to compare two matrices on MatLab?
body: <p>Given a matrix A and a matrix B, how do I compare them element by element so the program returns a third matrix C that shows:
  - If the element in A is larger than the one in B, the element in C should be 1.
  - If the element in A is smaller than in B, the element in C should be -1.
  - If the elements of both matrices are equal, the element in C should be 0.</p>
  
  <p>Hope you can help!</p>