Navigation

Operators and Keywords

Function List:

C++ API

: C = convn (A, B)
: C = convn (A, B, shape)

Return the n-D convolution of A and B.

The size of the result is determined by the optional shape argument which takes the following values

shape = "full"

Return the full convolution. (default)

shape = "same"

Return central part of the convolution with the same size as A. The central part of the convolution begins at the indices floor ([size(B)/2] + 1).

shape = "valid"

Return only the parts which do not include zero-padded edges. The size of the result is max (size (A) - size (B) + 1, 0).

See also: conv2, conv.

Package: octave