Professional Documents
Culture Documents
Transfer function:
s
>> [num,den]=pade(12,1)
num =
-1.0000
0.1667
den =
1.0000
0.1667
>> G=(2.77*(-s+0.1667))/((861*s+1)*(s+0.1667))
Transfer function:
-2.77 s + 0.4618
-------------------------861 s^2 + 144.5 s + 0.1667
>> sisotools
??? Undefined function or variable 'sisotools'.
>> sisotool
>> G1=0.2/((5*s+1)*(50*s+1))
Transfer function:
0.2
-----------------250 s^2 + 55 s + 1
>> G2=500/(2500*s+1)
Transfer function:
500
---------2500 s + 1
>> G3=series(G1,G2)
Transfer function:
100
-----------------------------------625000 s^3 + 137750 s^2 + 2555 s + 1
>> maargin(G3)
??? Undefined function or method 'maargin' for input arguments of type 'tf'.
>> margin(G3)
>> C=2.3446*(s+0.14898)/(s+0.1542744)
Transfer function:
2.345 s + 0.3493
---------------s + 0.1543
>> C=0.4573*(s+0.14898)/(s+0.1542744)
Transfer function:
0.4573 s + 0.06813
-----------------s + 0.1543
>> C=0.4573*(s+0.01375)/(s+0.01424)
Transfer function:
0.4573 s + 0.006288
------------------s + 0.01424
>> bandwith(G3)
??? Undefined function or method 'bandwith' for input arguments of type 'tf'.
>> bandwidth(G3)
ans =
3.9889e-004
>> bandwidth(series(C,G3))
ans =
3.9891e-004
>> A=[-0.00636 -7.0225*10^(-4);1 0]
A =
-0.0064
1.0000
-0.0007
0
>> B=[1;0]
B =
1
0
>> C=[0 7.0225*10^(-6)]
C =
1.0e-005 *
0
0.7023
>> D=[0]
D =
0
>> tt2ss(A,B,C,D)
??? Undefined function or method 'tt2ss' for input arguments of type
'double'.
0.7023
>> Q=[1 2]
Q =
1
0.7023
>> tt2ss(A,B,C,Q)
??? Undefined function or method 'tt2ss' for input arguments of type
'double'.
>> tt2ss(A,B,C)
??? Undefined function or method 'tt2ss' for input arguments of type
'double'.
>> help tt2ss
tt2ss not found.
Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.
>> help help
HELP Display help text in Command Window.
HELP, by itself, lists all primary help topics. Each primary topic
corresponds to a directory name on the MATLABPATH.
HELP / lists a description of all operators and special characters.
HELP FUN displays a description of and syntax for the function FUN.
When FUN is in multiple directories on the MATLAB path, HELP displays
information about the first FUN found on the path.
HELP PATHNAME/FUN displays help for the function FUN in the PATHNAME
directory. Use this syntax to get help for overloaded functions.
HELP MODELNAME.MDL displays the complete description for the MDL-file
MODELNAME as defined in Model Properties > Description. If Simulink
is installed, you do not need to specify the .mdl extension.
HELP DIR displays a brief description of each function in the MATLAB
directory DIR. DIR can be a relative partial pathname (see HELP
PARTIALPATH). When there is also a function called DIR, help for both
the directory and the function are provided.
0.0000
0.7023
1.0000
0.0064
0.0007
a =
>> z=b/a
z =
4.9313e-009
>> nyquist(z)
0
1
>> syms s
>> aux=inv(s*I-A)
aux =
[ (28823037615171174400000*s)/(28823037615171174400000*s^2
84*s + 20240978165253959375),
5/(28823037615171174400000*s^2 + 183314519232488669184*s +
]
[
28823037615171174400000/(28823037615171174400000*s^2
84*s + 20240978165253959375), (28823037615171174400000*s +
)/(28823037615171174400000*s^2 + 183314519232488669184*s +
]
+ 1833145192324886691
-2024097816525395937
20240978165253959375)
+ 1833145192324886691
183314519232488669184
20240978165253959375)
>> aux1=C*aux*B
aux1 =
6477113012881265625/(32*(28823037615171174400000*s^2 + 183314519232488669184*s +
20240978165253959375))
>> nyquist(aux1)
??? Error using ==> nyquist at 70
Not enough input arguments.
>> P=6477113012881265625/(32*(28823037615171174400000*s^2 + 18331451923248866918
4*s + 20240978165253959375))
P =
6477113012881265664/(922337203685477580800000*s^2 + 5866064615439637413888*s + 6
47711301288126709760)
>> nyquist(P)
??? Error using ==> nyquist at 70
Not enough input arguments.
>> P=1/(32*(28823037615171174400000*s^2 + 183314519232488669184*s + 202409781652
53959375))
P =
1/(922337203685477580800000*s^2 + 5866064615439637413888*s + 6477113012881267097
60)
>> nyquist(P)
??? Error using ==> nyquist at 70
Not enough input arguments.
>> nyquist(P)
??? Error using ==> nyquist at 70
Not enough input arguments.
>> roots([28823037615171174400000 5866064615439637413888 647711301288126709760])
ans =
-0.1018 + 0.1101i
-0.1018 - 0.1101i
>> eig(A)
ans =
-0.0032 + 0.0263i
-0.0032 - 0.0263i
>> ss2tf(A,B,C,D)
ans =
1.0e-005 *
0
0.0000
0.7023
0.0000
0.7023
1.0000
0.0064
0.0007
a =
>> P=(0.7023*10^(-5))/(s^(2)+0.0064*s+0.007)
P =
8291294952298379/(1180591620717411303424*(s^2 + (4*s)/625 + 7/1000))
>> nyquist(P)
??? Error using ==> nyquist at 70
Not enough input arguments.
>> P=(0.7023*10^(-5))/(s*s+0.0064*s+0.007)
P =