Lab 08
Lab 08
08
Convolution: To find/ plot the combine area of two continiouss time signals is called convolution.
Matlab Code:
%%Convolution of decaying exponential signal with system delta responce%%
16 0.8 16
14 0.7 14
12 0.6 12
10 0.5 10
8 0.4 8
6 0.3 6
4 0.2 4
2 0.1 2
0 0 0
0 5 10 -50 0 50 0 1 2
4
x 10
Figure 1: Convolution of Decaying Exponential signal with System unit impulse response
Convolution of growing exponential signal with system unit step impulse response:
Matlab Code:
%%Convolution of growing exponential signal with system unit step responce%%
22 24
x 10 x 10
12 1 3
decaying exponential signal unit step function resultant signal
0.9
10 2.5
0.8
0.7
8 2
0.6
6 0.5 1.5
0.4
4 1
0.3
0.2
2 0.5
0.1
0 0 0
0 5 10 -50 0 50 0 1 2
4
x 10
Figure 2: Convolution of Growing exponential signal with system unit step response
Matlab Code:
%%Convolution of cosine and sine waveform%%
t=0:0.001:10;%defining time
20
decaying exponential signal
-20
0 1 2 3 4 5 6 7 8 9 10
50
unit step function
-50
0 1 2 3 4 5 6 7 8 9 10
5
x 10
2
resultant signal
0
-2
0 0.5 1 1.5 2 2.5
4
x 10
Lab. Assignment:
Plot the convolution of following functions with system unit impulse response
1. Even function
2. Odd function