Signal Processing Toolbox Help Desk

conv

Purpose

Convolution and polynomial multiplication.

Syntax

Description

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.

Example

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

Algorithm

This function is part of the MATLAB environment. It 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

Two-dimensional convolution.

convmtx

Convolution matrix.

convn

N-dimensional convolution (see MATLAB Function Reference).

deconv

Deconvolution and polynomial division.

filter

Filter data with a recursive (IIR) or nonrecursive (FIR) filter.

residuez

z-transform partial fraction expansion.

xcorr

Cross-correlation function estimate.



[ Previous | Help Desk | Next ]