<< Chapter < Page Chapter >> Page >

This integral defines the convolution operator * and provides a way of finding the output y ( t ) of any linear system, given its impulse response h ( t ) and the input x ( t ) .

M atlab has several functions that simplify the numerical evaluation of convolutions. The most obvious of these is conv , which is used in convolex.m to calculate the convolution of an input x (consisting of two delta functions at times t = 1 and t = 3 ) and a system with impulse response h that is an exponential pulse. The convolution gives the output of the system.

Ts=1/100; time=10;             % sampling interval and total time t=0:Ts:time;                   % create time vectorh=exp(-t);                     % define impulse response x=zeros(size(t));              % input is sum of two delta functions...x(1/Ts)=3; x(3/Ts)=2;          % ...at times t=1 and t=3 y=conv(h,x);                   % do convolution and plotsubplot(3,1,1), plot(t,x) subplot(3,1,2), plot(t,h)subplot(3,1,3), plot(t,y(1:length(t)))
convolex.m example of numerical convolution (download file)
The convolution of the input (the top plot) with the impulse response of the system (the middle plot) gives the output in the bottom plot.
The convolution of the input (the top plot) with the impulse response of the system (the middle plot) gives the output in the bottom plot.

[link] shows the input to the system in the top plot,the impulse response in the middle plot, and the output of the system in the bottom plot. Nothing happens before time t = 1 , and the output is zero. When the first spike occurs,the system responds by jumping to 3 and then decaying slowly at a rate dictated by the shape of h ( t ) . The decay continues smoothly until time t = 3 , when the second spike enters. At this point, the output jumps up by 2, andis the sum of the response to the second spike, plus the remainder of the response to the first spike. Since there are no more inputs,the output slowly dies away.

Suppose that the impulse response h ( t ) of a linear system is the exponential pulse

h ( t ) = e - t t 0 0 t < 0 .

Suppose that the input to the system is 3 δ ( t - 1 ) + 2 δ ( t - 3 ) . Use the definition of convolution [link] to show that the output is 3 h ( t - 1 ) + 2 h ( t - 3 ) , where

h ( t - t 0 ) = e - t + t 0 t t 0 0 t < t 0 .

How does your answer compare to [link] ?

Suppose that a system has an impulse response that is an exponential pulse. Mimic the code in convolex.m to find its output when the input is a white noise (recall specnoise.m ).

Mimic the code in convolex.m to find the output of a system when the input is an exponential pulse and theimpulse response is a sum of two delta functions at times t = 1 and t = 3 .

The next two problems show that linear filters commute with differentiation, and with each other.

Use the definition to show that convolution is commutative (i.e., that w 1 ( t ) * w 2 ( t ) = w 2 ( t ) * w 1 ( t ) ). Hint: Apply the change of variables τ = t - λ in [link] .

Suppose a filter has impulse response h ( t ) . When the input is x ( t ) , the output is y ( t ) . If the input is x d ( t ) = x ( t ) t , the output is y d ( t ) . Show that y d ( t ) is the derivative of y ( t ) . Hint: Use [link] and the result of Exercise  [link] .

Let w ( t ) = Π ( t ) be the rectangular pulse of [link] . What is w ( t ) * w ( t ) ? Hint: A pulse shaped like a triangle.

Redo Exercise  [link] numerically by suitably modifying convolex.m . Let T = 1 . 5 seconds.

Questions & Answers

a perfect square v²+2v+_
Dearan Reply
kkk nice
Abdirahman Reply
algebra 2 Inequalities:If equation 2 = 0 it is an open set?
Kim Reply
or infinite solutions?
Embra Reply
if |A| not equal to 0 and order of A is n prove that adj (adj A = |A|
Nancy Reply
rolling four fair dice and getting an even number an all four dice
ramon Reply
Kristine 2*2*2=8
Bridget Reply
Differences Between Laspeyres and Paasche Indices
Emedobi Reply
No. 7x -4y is simplified from 4x + (3y + 3x) -7y
Mary Reply
is it 3×y ?
Joan Reply
J, combine like terms 7x-4y
Bridget Reply
im not good at math so would this help me
Rachael Reply
how did I we'll learn this
Noor Reply
f(x)= 2|x+5| find f(-6)
Prince Reply
f(n)= 2n + 1
Samantha Reply
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
Crystal Reply
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Chris Reply
preparation of nanomaterial
Victor Reply
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
Himanshu Reply
can nanotechnology change the direction of the face of the world
Prasenjit Reply
At high concentrations (>0.01 M), the relation between absorptivity coefficient and absorbance is no longer linear. This is due to the electrostatic interactions between the quantum dots in close proximity. If the concentration of the solution is high, another effect that is seen is the scattering of light from the large number of quantum dots. This assumption only works at low concentrations of the analyte. Presence of stray light.
Ali Reply
the Beer law works very well for dilute solutions but fails for very high concentrations. why?
bamidele Reply
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?