Вы находитесь на странице: 1из 10

" "

5

-

:
. .
. -92

, 2002
1

1)

, ,
.

x(n)

y(n)
+
+

-1

a
+

-1

2)

(), ,
.

:
2

w1 (n)
w ( n)
2
w3 (n)

w4 (n)
w5 (n)

0 b a 0 0
0 0 0 0 0

0 0 0 0 0

0 d c 0 0
0 1 1 0 0

w1 (n)
w ( n)
2

0 0 0 0 0
0 0 0 0 1

1 0 0 0 0

0 0 0 0 0
0 0 0 0 0

w3 (n)

w4 (n)
w5 (n)

w1 (n 1)
w (n 1)
2

1
0

w3 (n 1) 0 x(n)


w4 (n 1) 0
w5 (n 1) 0

w1 ( n)
w ( n)
2

y (n) 0 0 0 1 0 w3 (n)

w4 ( n)
w5 (n)
, .
.
. 1- 3- , 1- 3- .
:

w1 ( n) 0 0 0 0
w ( n) 0 0 0 0
2
w3 (n) a b 0 0


w4 (n) c d 0 0
w5 ( n) 1 1 0 0

0
0
0

0
0

'

w1 (n)
0 0
w ( n)
0 0
2

w3 ( n) 0 0

w4 (n)
0 0
w5 (n)
0 0

w1 ( n)
w ( n)
2
y ( n ) 0 0 0 1 0 w3 ( n )

w4 ( n)
w5 (n)

1
0
0
0
0

0
0
0
0
0

0
1
0

0
0

'

w1 (n 1)
0
w (n 1)
0
2


w3 (n 1) 1 x( n)


w4 (n 1)
0
w5 (n 1)
0

'

w1 (n) w3 (n 1),
w (n) w (n 1),
5
2

w3 (n) a w1 (n) b w2 (n) x(n),

w4 (n) c w1 (n) d w2 (n),


w5 (n) w1 (n) w2 (n),

y (n) w4 ( n);
3)

,

4.

H ( z)

Y ( z)
D E A Z 1 B
X ( z)

, 3, 4 (k = 4, j = 3),
:

S E A Z 1 B
1
0

0
0

1
0
0
0

0
1
0
0

H ( z) S

34

1
kj

1
0

c
1

1
0
a
c
1

0
0
0
1
0

Tkj

0
1
d
1
0
1
b
d
1

0
0

0
1

0
0

c
1

0
0
b
d
1

0
0
0
0
0

0
0
0
0
0

0
0
0

0
0

0
0

0
0

0
0
0
0
0

z 1
0
0
0
0

0
0
0
0

z
0
0
0

z 1

0
a

c
1

1
b
d
1

0
1
0
0

0
0
1
0

z 1
0

0
1

jk

z 1
0
0
0
z 1
0
1
0
0

0
z 1
cz 1 (c d ) z 2
0
1
0
0
0
1
0

0
z 1
1
2
0 1 (1 a ) z (b a ) z
0
1

, :

H ( z)

cz 1 (c d ) z 2
1 (1 a ) z 1 (b a ) z 2


.
, ,
.
4

:
6

H ( z)
i 1

b0i b1i z 1 b2i z 2


1 a1i z 1 a 2i z 2

b1i z 1 b2i z 2
H ( z)
B
1
a2i z 2
i 1 1 a1i z
6

, :
6
b1i z 1 b2i z 2
b0i b1i z 1 b2i z 2

1
1
a2i z 2
a 2i z 2
i 1 1 a1i z
i 1 1 a1i z
6

, a1i a1i . a2i.


:
i

a1

a2

1.6320

0.8786

1.4607

0.6814

1.3351

0.5367

1.2474

0.4359

1.1921

0.3722

1.1654

0.3414

, - (1+ai) = a1i, - (bi-ai) = a2i


MathLab :
a(1)=0.6320;
a(2)=0.4607;
a(3)=0.3351;
a(4)=0.2474;
a(5)=0.1921;
a(6)=0.1654;

b(1)=a(1)-0.8786;
b(2)=a(2)-0.6814;
b(3)=a(3)-0.5367;
b(4)=a(4)-0.4359;
b(5)=a(5)-0.3722;
b(6)=a(6)-0.3414;

c d
:
B
c(1)
c(2)
c(3)
c(4)
c(5)
c(6)
d(1)
d(2)
d(3)
d(4)
d(5)
d(6)

4)

=.19770609664000000000000000000000e-7;
=-.32739818017973932011817703155534;
=.98618667306828833968096464491216e-1;
=7.5126621313228737473830768232878;
=-6.7098289532386436268094874186223;
=-24.331747637547093292012987162967;
=23.757694368394465873602278325366;
=-.84288012046091543362140591489226e-1;
=.89223401762618990975708570250129;
=1.9736619754855488431992291391234;
=-5.9859505266962298492625017170286;
=-7.8651508026190294955131110726338;
= 11.118103945716109853738752365153;

Matlab.
. , 4.
5

w1 (n) w3 (n 1),
w (n) w (n 1),
5
2

w3 (n) a w1 (n) b w2 (n) x(n),

w4 (n) c w1 (n) d w2 (n),


w5 (n) w1 (n) w2 (n),

y (n) w4 ( n);
MathLab:
n=2;
for i=1:1:6
for k=1:1:6
w(i,k,n)=0;
w(i,k,n-1)=0;
end
end

a(1)=0.6320;
a(2)=0.4607;
a(3)=0.3351;
a(4)=0.2474;
a(5)=0.1921;
a(6)=0.1654;
b(1)=a(1)-0.8786;
b(2)=a(2)-0.6814;
b(3)=a(3)-0.5367;
b(4)=a(4)-0.4359;
b(5)=a(5)-0.3722;
b(6)=a(6)-0.3414;
B =.19770609664000000000000000000000e-7;
c(1) =-.32739818017973932011817703155534;
c(2) =.98618667306828833968096464491216e-1;
c(3) =7.5126621313228737473830768232878;
c(4) =-6.7098289532386436268094874186223;
c(5) =-24.331747637547093292012987162967;
c(6) =23.757694368394465873602278325366;
d(1)
d(2)
d(3)
d(4)
d(5)
d(6)

=-.84288012046091543362140591489226e-1;
=.89223401762618990975708570250129;
=1.9736619754855488431992291391234;
=-5.9859505266962298492625017170286;
=-7.8651508026190294955131110726338;
= 11.118103945716109853738752365153;

for k=1:1:max(size(x))
%
n=2;
s=0;
for i=1:1:6
%i-
w(i,1,n)=w(i,3,n-1);
w(i,2,n)=w(i,5,n-1);
w(i,3,n)=a(i).*w(i,1,n)+b(i).*w(i,2,n)+x(k);
w(i,4,n)=c(i).*w(i,1,n)+d(i).*w(i,2,n);
w(i,5,n)=w(i,1,n)+w(i,2,n);
Yi(i)=w(i,4,n);

% i-

for l=1:1:6
w(i,l,n-1)=w(i,l,n);

%w(n-1)=w(n)
6

end
s=s+Yi(i);

end
y(k)=(s+B.*x(k))./1.235;

%1.235

end

,
i=0;
for t=0:0.0078:1
i=i+1;
time(i)=t;
x(i) = 0;
end
x(1)=1;

:
0.25
0.2
0.15
0.1
0.05
0
-0.05
-0.1

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

0.45

0.5

4
5)

( ) , , Matlab.

Z=sym('z');
% -
D=sym('[0 0 0 1 0]');
A=sym('[0 0 0 0 0; 0 0 0 0 0; a b 0 0 0; c d 0 0 0; 1 1 0 0 0]');
B=sym('[0 0 1 0 0; 0 0 0 0 1;0 0 0 0 0; 0 0 0 0 0; 0 0 0 0 0 ]');
E=sym('[1 0 0 0 0; 0 1 0 0 0; 0 0 1 0 0; 0 0 0 1 0; 0 0 0 0 1]');
C=sym('[0;0;1;0;0]');
collect(D*inv(E-A-Z*B)*C,Z)
% Z

:
-z*((-d+c)*z-c)/((-b+a)*z^2+(-1-a)*z+1)

.
6)

4, ,
.
.

, :

h(i) cos(2fT i)

A( f )

i 0

h(i) sin(2fT i)

i 0


1.4
1.2
1

A(f)

0.8
0.6
0.4
0.2
0

10

15
f

20

25

30

:
S(t) = sin(2t)+ sin(2(10t))+ sin(2(12t))+ sin(2(14t))+sin(2(50t));

C :
N 1

j 2kn
N

j 2fn
Fs

X ( k ) x ( n) e

n 0

N 1

X ( f ) x(n) e
n 0

N 1
2fn
2fn
A( f ) x( n) cos(
) x( n) sin(
)
Fs
Fs
n 0
n 0
:
N 1

Fs=128;
8

f=0:1:60;
tmp_c=0;
for i=1:1:max(size(x))-1
tmp_c=tmp_c+x(i).*cos(2.*pi.*f.*(i-1)./Fs);
end
tmp_s=0;
for i=1:1:max(size(x))-1
tmp_s=tmp_s+x(i).*sin(2.*pi.*f.*(i-1)./Fs);
end
A=sqrt(tmp_c.^2+tmp_s.^2);
stem(f,A);

, :
350
300
250

A(f)

200
150
100
50
0

10

20

30
f

40

50

60

t = 0 - 5.
:
350
300
250

A(f)

200
150
100
50
0

10

20

30
f

40

50

60

: -
.
.
().
,
.

10