Linking markers in sequence of evaluated eigenvalue
1 次查看(过去 30 天)
显示 更早的评论
My problem here is i want to link the eigenvalues on the PZ map in sequential arrangement/display of the eigenvalue but not random linking. Your advise is highly solicited. Thank you
a = -2.6152 + 5.0781i;
b = -2.6195 + 5.0785i;
c = -2.6237 + 5.0789i;
d = -2.6280 + 5.0792i;
e = -2.6322 + 5.0796i;
s = tf('s');
T = (1)/((s-a)*(s-b)*(s-c)*(s-d)*(s-e));
pzmap(T)
grid on
ax = gca;
li = ax.Children(1).Children
for k = 1:numel(li)
li(k).LineStyle = "-";
li(k).LineWidth = 2;
end
set(gca,'FontSize',12);
set(gcf,'color','w');
2 个评论
Dyuman Joshi
2024-1-22
Is the attached figure the output you want to obtain?
If not, then what should be the order of the linking?
回答(2 个)
Sulaymon Eshkabilov
2024-1-22
a = -2.6152 + 5.0781i;
b = -2.6195 + 5.0785i;
c = -2.6237 + 5.0789i;
d = -2.6280 + 5.0792i;
e = -2.6322 + 5.0796i;
s = tf('s');
T = (1)/((s-a)*(s-b)*(s-c)*(s-d)*(s-e));
pzmap(T)
grid on
ax = gca;
li = ax.Children(1).Children
for k = 1:numel(li)
li(k).LineStyle = "-";
li(k).LineWidth = 2;
end
set(gca,'FontSize',12);
set(gcf,'color','w');
% These axis limits are needed
axis([-2.635 -2.61 5.03 5.1])
0 个评论
Sulaymon Eshkabilov
2024-1-22
Axis limits can be also adjust a bit more to get better display of the results, e.g.:
a = -2.6152 + 5.0781i;
b = -2.6195 + 5.0785i;
c = -2.6237 + 5.0789i;
d = -2.6280 + 5.0792i;
e = -2.6322 + 5.0796i;
s = tf('s');
T = (1)/((s-a)*(s-b)*(s-c)*(s-d)*(s-e));
pzmap(T)
grid on
ax = gca;
li = ax.Children(1).Children;
for k = 1:numel(li)
li(k).LineStyle = "-";
li(k).LineWidth = 2;
end
set(gca,'FontSize',12);
set(gcf,'color','w');
% These axis limits are needed:
axis([-2.64 -2.605 5.02 5.11])
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!