Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
• Routh’s criterion: no built-in command yet. However, many third-party functions are
available.
• Nyquist plot: Works on open-loop transfer function. Nyquist plot is the plot of the value
of open-loop transfer function when s is traversed through the positive half of s plane.
Here, N=Z-P: nyquist(G)
• Root-locus method: The locus of each root as gain K varies, is known as the root locus.
rlocus(H) : stable system as all the routes have negative real part.
response: lsim(A,u,time_mat)
• Response for an initial condition: This works with state-space format only.
Define initial condition of state variables: x0=[1 -1]'
Response: find state space form: [AA,BB,CC,DD]=tf2ss([1],[1 0.1 10])
Only take the state space output: a2b=ss(AA,[],CC,[])
Initial(a2b,x0)
6. Frequency response:
15(1+𝑠) 15+15𝑠
Assume the close loop transfer function, 𝐺 = (3−𝑠)(5+𝑠) = −𝑠2 −2𝑠+15
• Bode plot: bode(G)
• Gain and phase margin: margin (G)