diff options
Diffstat (limited to '104/CH5/EX5.8/5_8.sce')
-rwxr-xr-x | 104/CH5/EX5.8/5_8.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/104/CH5/EX5.8/5_8.sce b/104/CH5/EX5.8/5_8.sce new file mode 100755 index 000000000..9ff9bb379 --- /dev/null +++ b/104/CH5/EX5.8/5_8.sce @@ -0,0 +1,9 @@ +//characteristic equation from state equation
+A=[0 1 0;0 0 1;-2 -1 -5]
+B=[0;0;1]
+C=[1 0 0]
+D=[0]
+[Row Col]=size(A)
+Gr=C*inv(s*eye(Row,Col)-A)*B+D
+c=denom(Gr)
+disp(c,"characteristic equation=")
\ No newline at end of file |