Minor Matlab script corrections

This commit is contained in:
2025-04-15 14:15:26 +02:00
parent d64c51e4b1
commit ae2385a49e
4 changed files with 15 additions and 17 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")