How to display a splane grid such as sgrid on the positive real axis area?

17 ビュー (過去 30 日間)
John Tsinetakes
John Tsinetakes 2019 年 8 月 21 日
回答済み: Sai Sri Pathuri 2019 年 8 月 27 日
Is there a way to plot the s plane grid on both sides of the real axis?
The example code below plots poles on both the negative real and postive real axis, but the sgrid command olyn generates a grid on the neagtive real side.
figure(1)
axis(50000*[-.2,.2,-1,1]);
sgrid
ylabel('Imaginary axis');
xlabel('Real axis');
hold on
Poles = [-5000+10000i ; 5000+10000i ; -5000-10000i ; 5000-10000i];
plot(real(Poles),imag(Poles),'x');
sgrid.png

回答 (1 件)

Sai Sri Pathuri
Sai Sri Pathuri 2019 年 8 月 27 日
The reason sgrid function plots the grid only on the left-hand plane is because poles in the right half plane are unstable.
However, if you want to plot the grid on the positive side of real axis, you can create a custom function by modifying the source code of sgrid to plot the grid.

カテゴリ

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

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by