FUNCTION REFERENCE

convn

N-dimensional convolution of vectors and matrices.

N-dimensional convolution of vectors and matrices.

Syntax

C = convn(A, B)

Syntax

C = convn(A, B, shape)

shape is 'full' (default), 'same' or 'valid', as for conv2. An empty B gives zeros the size of A.

Example

convn([1 2 3], [1 1])   % [1 3 5 3]

Differences from MATLAB: Two-dimensional arrays only (no N-D arrays).

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.