Download LME for Pocket PC User Manual

Transcript
LME Reference — linear algebra
207
Description
dlyap(A,C) calculates the solution X of the following discrete-time
Lyapunov equation:
AXA0 − X + C = 0
All matrices are real.
Example
A = [3,1,2;1,3,5;6,2,1];
C = [7,1,2;4,3,5;1,2,1];
X = dlyap(A, C)
X =
-1.0505
3.2222
-1.2117
3.2317
-11.213
4.8234
-1.4199
5.184
-2.7424
See also
lyap, dare
dot
Scalar product.
Syntax
v3 = dot(v1, v2)
v3 = dot(v1, v2, dim)
Description
dot(v1,v2) gives the scalar products of vectors v1 and v2. v1 and v2
must be row or columns vectors of same length, or arrays of the same
size; then the scalar product is performed along the first dimension not
equal to 1. A third argument dim may be used to specify the dimension
the scalar product is performed along.
Examples
dot([1; 2; 3], [0; 0; 1])
3
dot([1, 2, 3; 7, 1, -3], [4, 0, 0; 0, 2, 0], 2)
4
2