STATE EQUATIONS
s1(n+1) = - a1 s1(n)
- a2 s2(n) + x(n)
s2(n+1) = s1(n)
OUTPUT EQUATION
y(n) = c1s1(n) + c2s2(n)
+ d x(n)

VECTOR EQUATIONS


s(n+1) = A s(n)
+ b x(n)
y(n) = ct s(n) + d x(n)


STATE EQUATIONS
s1(n+1) = - a1 s1(n) - a2
s2(n) + x(n)
s2(n+1) = s1(n)
OUTPUT EQUATION
y(n) = g0s1(n+1) + g1s1(n)
+ g2s2(n)
y(n) = g0(- a1 s1(n)
- a2 s2(n) + x(n)) + g1s1(n)
+ g2s2(n)
y(n) = (g1- a1g0)
s1(n) + (g2- a2g0)
s2(n) + g0 x(n)
Therefore: ct = [ (g1-
a1g0) (g2- a2g0)]
d = g0
CAN ALSO WRITE y(n) directly by following paths from
state variables.
STATE TRANSFORMATIONS
^s(n) = T s(n)
or T-1^s(n) = s(n)
^s(n+1) = T
s(n+1) = TA s(n) + T bx(n)
= TAT-1+ T bx(n)
y(n) = ct T-1^s(n)
+ d x(n)
define: ^A= TAT-1= T b;
^c= ct T-1 ; ^d= d
SYSTEM FUNCTION
x(n) = d(n)
with zero initial conditions:
| s(n+1) | = A s(n) + b x(n) | ||
| s(n) | = A s(n-1) + b x(n -1) | ||
| s(0) | = A s(0-1) + b d(0 -1) | = 0 + 0 | = 0 |
| s(1) | = A s(0) + b d(0) | =A(0) + b | = b |
| s(2) | = A s(1) + b d(1) | = Ab | =Ab |
| s(3) | = A s(2) + b d(2) | = A2b | =A2b |
| ..... | |||
| s(n) | = An-1b |
y(n) = h(n)
y(n) = ct
s(n) + d x(n)
h(n) = ct
s(n) + d d(n)
h(0) = d
h(n) = ct
An-1b u(n-1) for n > 0
Therefore: h(n) = d d(n)
+ ct An-1 b u(n-1)



which converges to one of the forms below for certain
eigenvalues:


s(n+1) = A s(n)
+ b x(n)
z1S(z) = A S(z)
+ b X(z)
z1S(z) - A S(z)
= (zI - A ) S(z) = b X(z)
S(z) =(zI - A
)-1 b X(z)
y(n) = ct s(n) + d x(n)
Y(z) = ct S(z) +
d X(z)
Y(z) = ct (zI - A
)-1 b X(z) + d X(z) = (ct
(zI - A )-1 b +d )X(z)
EXAMPLE:





For an nth Order System



GENERAL STATE EQUATIONS
s1(n+1) = - a1 s1(n)
- a2 s2(n) - a3 s3(n)
- a4 s4(n) ....- aN sN(n)
+ x(n)
s2(n+1) = s1(n)
s3(n+1) = s2(n)
s4(n+1) = s3(n)
....
sN(n+1) = sN-1(n)
OUTPUT EQUATION
y(n) = c1s1(n) + c2s2(n)
+ c3s3(n) + c4s4(n)
....+ cNsN(n) + d x(n)
VECTOR EQUATIONS


Poles are the roots of the characteristic equation:
D(z) = |zI-A|
The eigenvalues of a matrix A are given by:
Ax = lx
(A-lI)
x = 0 which has a nontrivial solution iff |A-lI|
= 0
Thus the eigenvalues must equal the poles of the
system function.
Our little 2x2 example:


Caley-Hamilton theorem:
D(z) = zN + dN-1 zN-1+
... + d1z + d0 = Characteristic Equation
Then: D(A) = AN + dN-1
AN-1+ ... + d1A + d0 = 0
Diagonal Decomposition:
If A has distinct eigenvalues lk
then A = P L
P-1

where P is composed of the eigenvectors: P = [v1
| v2| .... |vN|]
i.e. Avk = lkvk
and AP = [ l1v1
| l2v2|
.... | lNvN|]
= PL
An
= (P L
P-1) (P
L
P-1) (P
L
P-1) .....(P
L
P-1)
= (P L
(P-1 P)
L (P-1P)
L P-1)
.....(P L
P-1)
An
= P Ln
P-1

Therefore, letting T = P-1
define: ^A= TAT-1 = P-1
P L
P-1 P
-= L



Which is a partial fraction expansion of N decoupled
equations:

If h(n) is real, all complex-values poles (and zeros)
come in complex conjugate pairs. So assuming we only wish to
work with real values in our diagrams, we pair up complex poles:
+
