Functions > Vector and Matrix > Other Array Functions > Example: Deconvolution and Cross Correlation between Matrices
  
Example: Deconvolution and Cross Correlation between Matrices
1. Define a square matrix. This matrix represents an image.
Click to copy this expression
2. Define another matrix, based on the first matrix.
Click to copy this expression
3. Use the deconvolve function to perform deconvolution of two vectors.
Click to copy this expression
4. Use the crosscorr function to see the cross correlation between the two matrices.
Click to copy this expression
5. Define an identity matrix in the size of 20.
Click to copy this expression
6. Define a matrix in the same size and use the rnd function to populate its elements.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
7. Calculate the cross correlation of the two matrices.
Click to copy this expression
The low values indicate that the two matrices are not similar.