summaryrefslogtreecommitdiff
path: root/Prof_Arya/Linearisation_LinMod.m
diff options
context:
space:
mode:
Diffstat (limited to 'Prof_Arya/Linearisation_LinMod.m')
-rw-r--r--Prof_Arya/Linearisation_LinMod.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/Prof_Arya/Linearisation_LinMod.m b/Prof_Arya/Linearisation_LinMod.m
new file mode 100644
index 0000000..05123d9
--- /dev/null
+++ b/Prof_Arya/Linearisation_LinMod.m
@@ -0,0 +1,16 @@
+[A, B, C, D] = linmod('Cessna_6DOF_Wind_trim'); % V gamma q alpha
+
+A_lon = [A(1,1) A(1,8) A(1,11) A(1,2);
+ A(8,1) A(8,8) A(8,11) A(8,2);
+ A(11,1) A(11,8) A(11,11) A(11,2);
+ A(2,1) A(2,8) A(2,11) A(2,2)];
+
+A_phug = [A(1,1) A(1,8);
+ A(8,1) A(8,8)];
+
+A_short = [A(11,11) A(11,2);
+ A(2,11) A(2,2)];
+
+%display(eig(A_lon))
+%display(eig(A_phug))
+%display(eig(A_short)) \ No newline at end of file