diff options
Diffstat (limited to '3432/CH7/EX7.10/Ex7_10.sce')
-rw-r--r-- | 3432/CH7/EX7.10/Ex7_10.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3432/CH7/EX7.10/Ex7_10.sce b/3432/CH7/EX7.10/Ex7_10.sce new file mode 100644 index 000000000..e4accd101 --- /dev/null +++ b/3432/CH7/EX7.10/Ex7_10.sce @@ -0,0 +1,21 @@ +//Example 7.10
+//Transformation of Thermal System from Control to Modal Form
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+// State space matrices of the given system
+Ac=[-7 1; -12 0];
+Bc=[1;2];
+Cc=[1 0];
+Dc=0;
+//------------------------------------------------------------------
+// State space representation in modal canonical form
+T=[4 -3;-1 1]
+Am=T\Ac*T;
+Bm=T\Bc;
+Cm=Cc*T;
+Dm=Dc;
+disp(Dm,"Dm",Cm,"Cm", Bm,"Bm",Am,"Am","Thermal System in modal canonical form")
+//------------------------------------------------------------------
|