Analysis of the stability of the system characterized by the transfer function

3 ビュー (過去 30 日間)
Sebastian Alexandru
Sebastian Alexandru 2020 年 8 月 18 日
回答済み: Paul 2020 年 8 月 26 日
Hi all,
I also have a problem to solve in the field of "systems theory". I solved the mathematical part, but now I have to find a virtual method for analyzing the stability of the system characterized by the transfer function. Therefore, I chose matlab.
I need to graphically display the Nyquist diagram and the poles and zeros of the transfer function.
Transfer function:
The code for the Nyquist diagram is as follows:
num=[1 1]
den=[1 1 4 1 2]
G=tf(num,den)
plot(nyquist(G))
grid on
The code for representing the poles and zeros of the transfer function is as follows:
num=[1 1]
den=[1 1 4 1 2]
G=tf(num,den)
plot(pzmap(G))
grid on
How could I see on the same graph both functions or one below the other?
Thank you in advance

回答 (1 件)

Paul
Paul 2020 年 8 月 26 日
Does this do what you want:
>> nyquist(G)
>> [P,Z]=pzmap(G);hold on;plot(real(P),imag(P),'x'),plot(real(Z),imag(Z),'o')

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by