MATLAB Function Reference |

**Syntax**

**Description**

```
C = convn(A,B)
```

computes the N-dimensional convolution of the arrays `A`

and `B`

. The size of the result is `size(A)+size(B)-1`

.

```
C = convn(A,B,'shape')
```

returns a subsection of the N-dimensional convolution, as specified by the `shape`

parameter:

**See Also**

convhulln | copyfile |