Matlab. , , .
Matlab | |
1. Matlab (). | clear all |
2. Matlab. | clc |
3. tf. | help tf |
4. , . | which('tf') |
5. [6] tf. | n = [n2 n1 n0] d = [1 d2 d1 d0] f = tf (n, d) |
6. , . | [n1,d1] = tfdata (f, 'v') |
7. . | z = zero (f) p = pole (f) |
8. . | k = dcgain (f) |
9. ( , , ). | b = bandwidth (f) |
10. . | f_ss = ss (f) |
11. , 1. | f_ss.d = 1 |
12. . | k1 = dcgain (f_ss) |
13. ? ? | |
14. -. | f_zp = zpk (f) |
15. , . | who whos ( ?) |
16. . | pzmap (f) |
17. ( ). | [wc,ksi,p] = damp (f) |
18. LTIViewer. | ltiview |
19. f. | File Import |
20. ( ) . | Plot Types - Impulse |
21. f_ss. | File Import |
22. , ? | Systems |
23. f. ? | Systems |
24. . | Systems |
25. . | Plot Types Step |
26. , : [7] ( 10% 90% ) | Characteristics: Peak Response Settling Time Rise Time Steady State |
27. -, , . | |
28. . | File Print to Figure |
29. . | print -dmeta |
30. (Microsoft Word). | - |
31. LTIViewer. | |
32. [8] (100 ). | w = logspace(-1, 2, 100); |
33. [9] | r = freqresp (f, w); r = r(:); |
34. . | semilogx (w, abs(r)) |
35. . | print -dmeta |
36. (Microsoft Word). , . | |
37. , Matlab. | |
38. , 4 ( 5 ). | [u,t] = gensig('square',4); |
39. f . | lsim (f, u, t) |
40. . | print -dmeta |
41. (Microsoft Word). |
|
|
1. | 1.0 | 1.10 | 0.100 | 3.0000 | 3.1600 | 1.2000 |
2. | 1.1 | 1.54 | 0.495 | 2.8000 | 2.9200 | 1.2000 |
3. | 1.2 | 1.08 | 0.096 | 2.3727 | 2.2264 | 0.9091 |
4. | 1.3 | 1.04 | 0.091 | 2.1909 | 2.0264 | 0.9091 |
5. | 1.4 | -1.54 | 0.252 | 1.8333 | 1.5278 | 0.6944 |
6. | 1.5 | -0.90 | -0.240 | 1.6667 | 1.3611 | 0.6944 |
7. | 1.6 | 0.80 | -0.224 | 1.3286 | 0.8959 | 0.4592 |
8. | 1.7 | 1.36 | 0.204 | 1.1857 | 0.7673 | 0.4592 |
9. | 1.8 | -1.98 | 0.432 | 1.2000 | 0.7644 | 0.3556 |
10. | 1.9 | -0.76 | -0.399 | 1.3333 | 0.8711 | 0.3556 |
11. | 2.0 | 0.60 | -0.360 | 1.2000 | 0.7406 | 0.2734 |
12. | 2.1 | 1.68 | 0.315 | 1.3250 | 0.8281 | 0.2734 |
13. | 2.2 | -2.42 | 0.616 | 1.3059 | 0.7696 | 0.2076 |
14. | 2.3 | -0.46 | -0.552 | 1.4235 | 0.8401 | 0.2076 |
15. | 2.4 | 0.24 | -0.480 | 1.3889 | 0.7531 | 0.1543 |
16. | 2.5 | 2.25 | 0.500 | 1.5000 | 0.8086 | 0.1543 |
17. | 2.6 | 0.26 | -0.780 | 1.2421 | 0.6139 | 0.1108 |
18. | 2.7 | -0.27 | -0.810 | 1.1368 | 0.5717 | 0.1108 |
19. | 2.8 | 0.28 | -0.840 | 0.8000 | 0.3700 | 0.0500 |
20. | 2.0 | 0.50 | -0.380 | 1.2600 | 0.7804 | 0.2844 |
21. | 1.2 | 1.10 | 0.100 | 2.4234 | 2.1864 | 0.9091 |
22. | 2.4 | 0.22 | -0.520 | 1.4024 | 0.7835 | 0.1543 |
23. | 1.8 | -1.96 | 0.4269 | 1.2200 | 0.7673 | 0.3656 |
24. | 2.9 | 3.19 | 0.870 | 0.7000 | 0.3500 | 0.0500 |
1.
( )
-
2.
|
|
3. ?
4.
? ? ?
5. - Matlab?
6. Matlab
who whos clear all clc
7. ?
8. ( ) ?
9. LTIViewer?
10. f_ss? ?
11.
12. Matlab ?
13. 200 ?
14. ?