Linking markers in sequence of evaluated eigenvalue

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Dyuman Joshi
Dyuman Joshi il 22 Gen 2024
Is the attached figure the output you want to obtain?
If not, then what should be the order of the linking?
Kamilu Sanusi
Kamilu Sanusi il 22 Gen 2024
@Dyuman Joshi, Thank you so much. The initial attached was already obtained. Attached here is the what is desired from A;B;C;D; E, in that order.

Accedi per commentare.

Risposte (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov il 22 Gen 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
li =
2×1 Line array: Line (PZ_Zero) Line (PZ_Pole)
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])

Sulaymon Eshkabilov
Sulaymon Eshkabilov il 22 Gen 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])

Categorie

Scopri di più su Mathematics and Optimization in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by