1
Matlab
,
, ( )
,
()
() Microsoft Word ( Times New Roman, 12 , 1,5 , ).
,
,
, (. ): , , .
Matlab. Courier New, .
Matlab. , , .
1. Matlab (). | clear all | ||
2. Matlab. | clc | ||
3. . | F = tf(1, [1 1]) | ||
4. norm, . | norm (F) | ||
5. . | norm (F)^2 | ||
6. ( /). | bw = bandwidth (F) | ||
7. | tau = 2*pi/100/b w | ||
8. Simulink . 100 ( Simulation Simulation Parameters Stop Time). | , Simulink | ||
9. Band- Limited White Noise ( , Sources) Scope (, Sinks). Noise Power () 1. , . | |||
10. , , Auto Correlator ( ) Power Spectral Density ( ) Simulink Extras Additional Sinks). . | |||
11. , . | |||
12. Band- Limited White Noise (Sample Time) , . 7. tau. | |||
13. , , . General Sampling Sampling time ( ), tau. Data history Limit data points to last, Save data to workspace, out Array. . | |||
14. Matlab, () . , . 4 5 . . | t = out(:,1); y = out(:,2); std (y) var (y) | ||
15. Auto Correlator , , . | |||
16. , Matlab, . . m - ( ):
1 R = xcorr(y)/length(y); 2 Rplus = R(floor(length(R)/2):end); 3 M = 200; 4 t = t(1:M); Rplus = Rplus(1:M); 5 R_teor = 0.5*exp(-abs(t)); |
Figure(1);