How to do deconvolution in matlab?
Description. [ q , r ] = deconv( u,v ) deconvolves a vector v out of a vector u using long division, and returns the quotient q and remainder r such that u = conv(v,q) + r .
How do you convolve two matrices in Matlab?
C = conv2( A , B ) returns the two-dimensional convolution of matrices A and B . C = conv2( u , v , A ) first convolves each column of A with the vector u , and then it convolves each row of the result with the vector v . C = conv2(___, shape ) returns a subsection of the convolution according to shape .