Small Matlab correction

This commit is contained in:
Thomas Dehaeze 2025-04-15 14:09:12 +02:00
parent a0e74fdeba
commit e4d9703f11
2 changed files with 4 additions and 4 deletions

View File

@ -269,11 +269,11 @@ xlim([freqs(1), freqs(end)]);
%% Verify that parallel stiffness permits to have a stable plant
Kiff_pure_int = -200/s*eye(6);
if not(isstable(feedback(G_iff_m25_Rz, Kiff_pure_int, 1)))
if isstable(feedback(G_iff_m25_Rz_no_kp, Kiff_pure_int, 1))
disp("Decentralized IFF is not stable with rotation")
end
if isstable(feedback(G_iff_m25_Rz_no_kp, Kiff_pure_int, 1))
if not(isstable(feedback(G_iff_m25_Rz, Kiff_pure_int, 1)))
disp("Parallel stiffness makes the decentralized IFF stable")
else
warning("Decentralized IFF is not stable even with the parallel stiffness")

View File

@ -1177,11 +1177,11 @@ The overall gain was then increased to obtain a large loop gain around the reson
%% Verify that parallel stiffness permits to have a stable plant
Kiff_pure_int = -200/s*eye(6);
if not(isstable(feedback(G_iff_m25_Rz, Kiff_pure_int, 1)))
if isstable(feedback(G_iff_m25_Rz_no_kp, Kiff_pure_int, 1))
disp("Decentralized IFF is not stable with rotation")
end
if isstable(feedback(G_iff_m25_Rz_no_kp, Kiff_pure_int, 1))
if not(isstable(feedback(G_iff_m25_Rz, Kiff_pure_int, 1)))
disp("Parallel stiffness makes the decentralized IFF stable")
else
warning("Decentralized IFF is not stable even with the parallel stiffness")