Data analysis | conv2 >> |
C = conv(u, v) |
C = conv(u, v, shape) |
input vectors, specified as either row or column vectors.
input vectors, specified as either row or column vectors.
subsection of convolution: 'full' (default: full 2-D convolution), 'same' (central part of the convolution) or 'valid' (parts of the convolution that are computed without zero-padded edges).
convolution, returned as a vector or matrix.
conv returns the convolution of vectors u and v.
U = [-1 2 3 -2 0 1 2];
V = [2 4 -1 1];
R = conv(U, V, 'same')
conv.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET