Professional Documents
Culture Documents
x=
Columns 1 through 3
Column 4
-3.0000 - 3.0000i
h=
>> y= conv(x,h)
y=
Columns 1 through 3
Columns 4 through 6
Column 7
1.2000 + 1.2000i
>> h = [ 0.8 0 0 0 0; 0.4 0.8 0 0 0; -0.4 0.4 0.8 0 0; -0.4 -0.4 0.4 0.8 0;0 -0.4 -0.4 0.4 0.8]
h=
0.8000 0 0 0 0
0.4000 0.8000 0 0 0
-0.4000 0.4000 0.8000 0 0
-0.4000 -0.4000 0.4000 0.8000 0
0 -0.4000 -0.4000 0.4000 0.8000
>> h^-1
ans =
1.2500 0 0 0 0
-0.6250 1.2500 0 0 0
0.9375 -0.6250 1.2500 0 0
-0.1563 0.9375 -0.6250 1.2500 0
0.2344 -0.1563 0.9375 -0.6250 1.2500
c=
>> z=conv(c,y)
z=
Columns 1 through 3
Columns 4 through 6
Columns 7 through 9
Columns 10 through 11
>> rxy=xcorr(x,y)
rxy =
Columns 1 through 3
Columns 7 through 9
Columns 10 through 12
Column 13
-0.0000 - 0.0000i
>> ryy=xcorr(y,y)
ryy =
Columns 1 through 3
Columns 4 through 6
Columns 7 through 9
Columns 10 through 12
Column 13
-1.9200 - 0.0000i
Rxy =
Columns 1 through 3
Columns 4 through 5
Ryy =
45.4400 + 0.0000i 24.0000 +19.2000i -6.0800 +16.3200i -13.4400 - 0.6400i -9.9200 - 7.3600i
24.0000 -19.2000i 45.4400 + 0.0000i 24.0000 +19.2000i -6.0800 +16.3200i -13.4400 - 0.6400i
-6.0800 -16.3200i 24.0000 -19.2000i 45.4400 + 0.0000i 24.0000 +19.2000i -6.0800 +16.3200i
-13.4400 + 0.6400i -6.0800 -16.3200i 24.0000 -19.2000i 45.4400 + 0.0000i 24.0000 +19.2000i
-9.9200 + 7.3600i -13.4400 + 0.6400i -6.0800 -16.3200i 24.0000 -19.2000i 45.4400 + 0.0000i
>> c=Ryy^-1*Rxy'
c=
-0.0523 + 0.0571i
0.0329 - 0.0721i
1.0382 + 0.1166i
-0.4528 - 0.1552i
0.6372 + 0.1022i
>> z=conv(y,c)
z=
Columns 1 through 7
0.0875 - 0.0038i 0.0396 - 0.1493i -0.6331 - 0.8913i -2.5562 + 0.8384i -2.6823 - 0.5275i -
2.3901 - 2.7474i -0.1193 + 0.0303i
Columns 8 through 11
x_mmse =
>> e_mmse=mean((x_mmse-x).^2)
e_mmse =
0.1199 + 0.1362i
x_zf =
>> e_zf=mean((x_zf-x).^2)
e_zf =
0.0000 + 0.0078i
Câu 1d:
htt=[0.8 -0.5 0.7 -0.3; -0.4 -0.2 0.7 0.2; 0.8 0.4 -0.4 -0.4; -0.9 0.7 -0.4 0.3] : tự nhập
htt =
Ptt=htt.^2 : tự nhập
Ptt =
Pt=mean(Ptt) : tự nhập
Pt =