You are on page 1of 41

# SP503

## Week # 08: 11th November, , 2013

Engr.AHMEDALI

DiscreteConvolutionExample
Problem#01:

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
Solution

DiscreteConvolutionExample
FinalOutput

NumericalConvolutionUsingMATLAB
Definex[n]andh[n]
xx = [5 7 -9 10]; hh = [1 2 3]; Mayalsobeusefultousethezeros andones functions(especiallyformatchingupsample values)

Usetheconv function
yy = conv(xx,hh);

DiscreteConvolutionExample

DiscreteConvolutionExample
Solution(a)

DiscreteConvolutionExample

DiscreteConvolutionExample

DiscreteConvolutionExample

DiscreteConvolutionExample

DiscreteConvolutionExample

x(t )

System

y (t )

(t )

System y

h(t )

## Exploiting p gTimeInvariance Letx[n]beanarbitraryinputsignalwith x(t ) = 0, for t < 0 Usingthesiftingpropertyof (t ),wemay write

x(t ) =

x( ) (t )d ,
System

t0

Exploitingtimeinvariance invariance,itis

(t )

h(t )

Exploiting p g Time-Invariance

y (t ) =

## x( )h(t )doesnotcontain Iftheintegrand g animpulselocatedat = 0,thelowerlimitof g canbetakentobe0,i.e., theintegral

x( )h(t )d ,

t0

y (t ) = x( )h(t )d , t 0
0

## y (t ) = x( )h(t )d , t 0 0 144 244 3 x(t ) h(t ) Equation iscalledthe y (t ) = x(t ) h(t )

convolutionrepresentationofthesystem Remark:aCTLTIsystemiscompletely d described ib dby b its it impulse i l responseh(t)

## Block Diagram Representation of CT LTI Systems Sincetheimpulseresponseh(t)providesthe completedescriptionofaCTLTIsystem,we write

x(t )

h(t )

y (t )

Example: Analytical Computation of the Convolution Integral Supposethatwherep(t)is x( t) = h (t ) = p (t ), figure therectangular pulse depicted in

p (t )

## Example Contd Inordertocomputetheconvolution integral

y (t ) = x( )h(t )d , t 0
0

wehavetoconsiderfourcases:

h(t )
t T

x( )

0
y (t ) = 0

h(t )

x( )

t T

0 t
t

y (t ) = d = t
0

## Example Contd Case3: 0 t T T

T t 2T
h(t )

x( )

0 t T
T

y (t ) =

t T

d = T (t T ) = 2T t

T t T x( )

2T t
h(t ) T t T

0
y (t ) = 0

## Example Cont Contd d

y (t ) = x(t ) h(t )

2T

Commutativity

## w(t q ) = xq (t ) v(t ) = x(t ) vq (t )

Convolutionwiththeunitimpulse

## xq (t ) = x(t q ) v (t ) = v(t q ) q w(t ) = x(t ) v(t )

x(t ) (t ) = x(t )
Convolutionwiththeshiftedunitimpulse

x(t ) q (t ) = x(t q )

## d dx(t ) v(t ) [ x(t ) v(t )] = dt dt

Ifb both thx(t)and dv(t)aredifferentiable, diff ti bl th then itisalso

## d dx(t ) dv(t ) x(t ) v(t ) ] = 2[ dt dt dt

Properties of the Convolution Integral - Cont Contd d Integration I t ti property: t define d fi t ( 1)) x (t ) x( )d t v ( 1) (t ) v( )d then

( x v)

( 1)

(t ) = x

( 1)

(t ) v(t ) = x(t ) v

( 1)

(t )

Representation of a CT LTI System in Terms of the Unit-Step Response Letg(t)betheresponseofasystemwith impulseresponseh(t)whenx(t ) = u (t ) with noinitialenergyattime ie t = 0,i.e.,

u (t )
Therefore,itis

h(t )

g (t )

g (t ) = h(t ) u (t )

## Representation of a CT LTI System in Terms of the Unit-Step Response Contd Differentiatingbothsides

dg (t ) dh(t ) du (t ) = u (t ) = h(t ) dt dt dt
Recallingthat

du (t ) = (t ) dt
itis

and

h(t ) = h(t ) (t ) g (t ) = h( )d
0
t

dg (t ) = h(t ) dt

or

QUIZ#04
QUESTION: [05marks]

41