Computes the convolution mask
y = convm(x,n)
A vector whose convolution mask is to be generated
a positive integer usually greater than 1 which determines the size of the convolution mask
generated convolution mask, a matrix.
It generates a convolution mask from a vector. The size of the generated mask is n by (m+n-1) or (m+n-1) by n depending on whether the input vector is of length m. Usually the second argument n is the length of the second vector for which convolution is required to be performed with the input vector.