DSP Blockset
  Go to block:
    Search    Help Desk 
Convolution    See Also

Compute the convolution of two vectors.

Library

Vector Functions, in Math Functions

Description

The Convolution block computes the convolution of two input vectors independently at each time step. For a length-M input vector u (indexed from 1 to M) and a length-N input vector v (indexed from 1 to N), the block output is a vector of length M+N-1 with elements

where * denotes conjugation, and u and v are zero when indexed outside of their valid ranges.

When both inputs are real, the output is real as well. When one or both inputs are complex, the output is complex.

A matrix input, u, is treated as a vector, u(:).

Note
If you expect to generate code for the Convolution block using the Real-Time Workshop, you should ensure that inputs are contiguous in memory. See the Contiguous Copy block for more information.

Dialog Box

See Also

Correlation
conv (MATLAB)


[ Previous | Help Desk | Next ]