blob: 11e0d08eb5068a07f9461d8b1a469ea2e6ebf12e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 7.12
clc;
clear;
s=%s
h=syslin('c',(2*(s+5))/((s+2)*(s+3)*(s+4)))
disp(h,'thr transfer function is')
ss=tf2ss(h)
disp(ss,'the state space model is')
[Ac,Bc,U,ind]=canon(ss(2),ss(3))
disp(Ac,Bc,U,ind)
|