% -*- texinfo -*- % @deftypefn {Function File} {@var{c} =} convn (@var{a}, @var{b}, @var{shape}) % @math{N}-dimensional convolution of matrices @var{a} and @var{b}. % % The size of the output is determined by the @var{shape} argument. % This can be any of the following character strings: % % @table @asis % @item 'full' % The full convolution result is returned. The size out of the output is % @code{size (@var{a}) + size (@var{b})-1}. This is the default behavior. % @item 'same' % The central part of the convolution result is returned. The size out of the % output is the same as @var{a}. % @item 'valid' % The valid part of the convolution is returned. The size of the result is % @code{max (size (@var{a}) - size (@var{b})+1, 0)}. % @end table % % @seealso{conv, conv2} % @end deftypefn