15.5. Convolution
If y(n) is a sequence whose values are a function of the two sequences h(n) and x(n) as given in equation (15.1), then y(n) is called convolution of x(n) with h(n):
15.1.
The convolution is represented as:
y(n) = x(n)*h(n)
The operation of discrete-time convolution takes two sequences x(n) and h(n) as input and produces a third sequence y(n).
In MATLAB, convolution of any two causal signals (that depends only on present and future samples) can be done by using conv command as shown below:
conv(x, h)
where x and h represent discrete-time causal sequences x(n) and h(n).
Example 15.19.
Compute the convolution for the following ... |
Get MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.