.


:




:

































 

 

 

 


y ( n ), .

1.

N

, (1)

x(n) y(n) nT ( = const ), , bk , .

, , .

 

 

 


N .

, (1), . 0, .

h(n) .

(-) , 0 . (-).

N . ak bk prony(...). , filter (...) impz(...).

2.

() , , -

= =

h(n) , .

,

.

- , ( =1).

b , , .

= 0 0.99 0.01, () freqz (...).

3.

x(n) Nx. MATLAB.

1. (n) h(n)

.

, - , .. .

2. , bk ak.

3. .

3.1. () (n) () h(n) H(k).

,

3.2. Y(k) () H(k).

3.3. y(n) Y(k).

. 3.2 , , . . 2 3 Nx Nh Ny, .1.

y (n), .

 

4.

 

: (), (), (), ().

,

1- ,

2- ,

( ) .

MATLAB :

1. , , Fd, () F0 ( 2- ).

2. ap as, (Fd/2), Rp Rs .

ap as (ap<as),

- ap as (ap>as),

- ap as 2- {as(1)<ap(1)<ap(2)<as(2)},

- ap as 2- {ap(1)<as(1)<as(2)<ap(2)}.

3. N a0s :

[N1,a0s] = buttord (ap, as, Rp, Rs) ,

[N1,a0s] = cheb1ord (ap, as, Rp, Rs) 1- ,

[N1,a0s] = cheb2ord (ap, as, Rp, Rs) 2- ,

[N1,a0s] = ellipord (ap, as, Rp, Rs) ,

N=N1 , N=2N1 .

4. b a :

[b,a] = butter (N1, a0s, type) ,

[b,a] = cheby1 (N1, Rp, a0s, type) 1- ,

[b,a] = cheby2 (N1, Rs, a0s, type) 2- ,

[b,a] = ellip (N1, Rp, Rs, a0s, type) .

a0s type .

a0s type
a0s () -
a0s () high
[a1 a2] (2- ) -
[a1 a2] (2- ) stop

5. ( ).

, , . ( b ) .   SPTool   SPTool (Signal Processing Tool) , , . SPTool >> sptool . Signals ( View). Filters 4 , , () (New Design), (Edit Design), (View), , Signals (Apply). C Spectra () : (Create), (View), , .. (Update). , SPTool, : - , - , - , - , - , - . . File\Import. MATlab , Sourse () From Workspace ( ) Workspace Contents ( ) , . , c Data. Sampling Frequency ( ) , Name () , SPTool. Signals . . View. : , . , . . Signals SPTool Create. Spectrum Viewer c . Method , , FFT (Fast Fourier Transform ) NFFT. Apply () , Selection Spectra SPTool . Rulers . , View. . SPTool New Design, Filter Designer ( ). Type (, , , ), Algorithm (, .), Fp, Rp, Fs Rs, Sampling Frequency. Apply (Order), Filter Designer Filters SPTool. View : , , , , . ( ) File\Export. Export from SPTool Export to Workspace. c < >. tf. num, MATlab, ( ) bk, < >. tf. den - ( ) ak. . SPTool Signals , Filters . Apply Signals SPTool . , . . SPTool *.spt, SPTool. : ; File\Save Session File\Save Session As. File \ Open Session; File \ Export Export to Workspace ( MATlab ) Export to Disk.... Import to SPTool Sours () From Disk ( ). SPTool Edit\Clear.   5 SPTool. 1. 2- : U1=1¸3 , f1=5¸15 , U2=5¸7 , f2=25¸35 , fd= 100 ( =0,01 ), =1 . 2. SPTool . 3. . 4. 2 , . 5. N ak bk. 6. . 7. .  

 

5



<== | ==>
|
:


: 2018-10-18; !; : 1080 |


:

:

, .
==> ...

1500 - | 1357 -


© 2015-2024 lektsii.org - -

: 0.025 .