blob: 2f5e487bb5ea98bec0314c108b227e22e808d276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//Caption:transfer_function
// example 3.2.3
//page 35
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 G4 G5 G6 H1 H2;
//shift the takeof point placed before G2 towards right side of block G2
a= G5/G2;
b=parallel(G3,G4);
c=series(b,G6);
d=parallel(a,c);
e=series(G1,G2);
l=series(H1,d);
g=e/.H2
y=g/(1+g*l)
y=simple (y);
disp(y,"C(s)/R(s)=")
|