blob: 3b816f6db267c77e3ffead3792a4cc7c7f7962c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Caption:transfer_function
// example 3.2.2
//page 34
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 H1;
// shifting take off point before block G1 to a position after block G1
a=G1*H1;
b=parallel(G1,G2);
c=G3/.a
y=series(b,c);
y=simple (y);
disp(y,"C(s)/R(s)=")
|