Download MLAB Beginner`s Guide Manual

Transcript
In general, matrix powers are given as follows:
ME1 ^SE1
Usually, SE1 is an integer n; if not, an error message is printed.
Assume ME1 is a square m by m matrix A. If n > 0, the result is
A*A*...*A (n times). If n = 0 the result is an m by m
identity matrix, [dij ], where dii = 1 and dij = 0 for i 6= j. If
n = −1 and ME1 is a nonsingular matrix A, then the result is the matrix inverse A−1 .
If n < −1, the result is (A−1 ) ∗ (A−1 ) ∗ ... ∗ (A−1 ) (n times).
As usual, the circumflex (^) may be replaced by double asterisks (**).
Table 3.27: Matrix power operation.
* TYPE UX,UY,V
UX: a
1: 1
2: -3
UY: a
1: -2
2: 6
V: a
2 by 3 matrix
2
4
5
-1
2 by 3 matrix
-2
1
4
3
2 by 1 matrix
1: 8
2: -3
* TYPE UX *’ UY
: a
1: -2
2: -18
2 by 3 matrix
-4
4
20
-3
* TYPE V *’ UX
: a
1: 8
2: 9
2 by 3 matrix
16
-12
40
3
80