blob: b061c050cab195547a5a993aec1748790e2844b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Example 3.9
//Computing final value (use of final value theorem).
clear;
clc;
//------------------------------------------------------------------
//Computing final value (use of final value theorem)
// Output of the system
s=poly(0,'s');
num=3*(s+2);
den=s*(s^2+2*s+10);
Ys=syslin('c',num/den);
//final value theorem, lim s-->0 in s*Y(s)
Y_final=horner(s*Ys,0)
disp(Y_final,"The final value of the output y is:")
//------------------------------------------------------------------
|