Xe of xn ei of xn en3 for 0 n r O n7 Solution3 n0013 xnexp
Solution
(3)
>> n=0:0.1:3;
>> x_n=exp(-n/3);
>> h_n=exp(-n/6);
>> conv(x_n,h_n)
ans =
Columns 1 through 5
1.0000 1.9507 2.8540 3.7116 4.5254
Columns 6 through 10
5.2971 6.0283 6.7206 7.3754 7.9943
Columns 11 through 15
8.5787 9.1300 9.6494 10.1382 10.5977
Columns 16 through 20
11.0291 11.4335 11.8119 12.1655 12.4952
Columns 21 through 25
12.8021 13.0871 13.3511 13.5950 13.8196
Columns 26 through 30
14.0258 14.2143 14.3859 14.5414 14.6814
Columns 31 through 35
14.8066 13.9654 13.1576 12.3821 11.6377
Columns 36 through 40
10.9233 10.2378 9.5802 8.9495 8.3447
Columns 41 through 45
7.7649 7.2091 6.6766 6.1664 5.6777
Columns 46 through 50
5.2098 4.7619 4.3332 3.9231 3.5309
Columns 51 through 55
3.1559 2.7975 2.4551 2.1280 1.8157
Columns 56 through 60
1.5177 1.2333 0.9622 0.7038 0.4576
Column 61
0.2231
>>

