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