title: How to find the displacement vector between two points in a matrix?
body: <p><strong>Example:</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/9Dilt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9Dilt.jpg" alt="example"></a></p>
  
  <p><strong>Formula:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/kjoR6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kjoR6.jpg" alt="formula"></a></p>
  
  <p>The difference between the two points gets the difference of the value of the received points of the matrix. If possible, could you suggest me a formula.</p>