diff options
author | Siddharth11235 | 2019-09-03 18:09:16 +0530 |
---|---|---|
committer | Siddharth11235 | 2019-09-03 18:09:16 +0530 |
commit | b4b6aa36e3486a3544acc52419149b5671f841e9 (patch) | |
tree | 66c1783158f23e6d21c77324156fc57e18d4ac67 /Prof_Arya/Linearisation_LinMod.m | |
parent | f5266f634f4fb4fd39933a83551a01cf446256b8 (diff) | |
download | OpenModelica_HIL-master.tar.gz OpenModelica_HIL-master.tar.bz2 OpenModelica_HIL-master.zip |
Diffstat (limited to 'Prof_Arya/Linearisation_LinMod.m')
-rw-r--r-- | Prof_Arya/Linearisation_LinMod.m | 16 |
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 |