Linking markers in sequence of evaluated eigenvalue
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Dyuman Joshi
el 22 de En. de 2024
Is the attached figure the output you want to obtain?
If not, then what should be the order of the linking?
Respuestas (2)
Sulaymon Eshkabilov
el 22 de En. de 2024
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 comentarios
Sulaymon Eshkabilov
el 22 de En. de 2024
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 comentarios
Ver también
Categorías
Más información sobre Mathematics and Optimization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!