summaryrefslogtreecommitdiff
path: root/46/CH4/EX4.2/Example4_2.sce
blob: 94ce2e3c0a0f6cfa5632dc4f3482d6e969517dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 4.2
clc
s=%s;
num=poly([-8 0 9 -6 1],'s','coeff');
den=s*(s-2)*poly([-2 -1 2 1],'s','coeff')
xs=num/den;
disp(xs,'x(s)=')
disp(s*xs,'s*x(s)=')
[A]=pfss(s*xs)
printf("since xs becomes infinite for s=1 and s=2, the conditions of the final value theorem are not satisfied\n")
printf("Final value theorem is not applicable \n")