Signal Processing Toolbox    
conv

Convolution and polynomial multiplication

Syntax

Description

c = conv(a,b) convolves vectors a and b. The convolution sum is

where N is the maximum sequence length. The series is indexed from n + 1 and k + 1 instead of the usual n and k because MATLAB vectors run from 1 to n instead of from 0 to n-1.

The conv function is part of the standard MATLAB language.

Example

The convolution of a = [1 2 3] and b = [4 5 6] is

Algorithm

The conv function is an M-file that uses the filter primitive. conv computes the convolution operation as FIR filtering with an appropriate number of zeros appended to the input.

See Also

conv2, convmtx, convn, deconv, filter, residuez, xcorr


 cohere conv2