Символьная матричная степень
A^B
mpower(A,B)
Создайте 2
-by-2
матрица.
A = sym('a%d%d', [2 2])
A = [ a11, a12] [ a21, a22]
Найдите A^2
.
A^2
ans = [ a11^2 + a12*a21, a11*a12 + a12*a22] [ a11*a21 + a21*a22, a22^2 + a12*a21]
Создайте 2
-by-2
символьный магический квадрат.
A = sym(magic(2))
A = [ 1, 3] [ 4, 2]
Найдите πA.
sym(pi)^A
ans = [ (3*pi^7 + 4)/(7*pi^2), (3*(pi^7 - 1))/(7*pi^2)] [ (4*(pi^7 - 1))/(7*pi^2), (4*pi^7 + 3)/(7*pi^2)]
ctranspose
| ldivide
| minus
| mldivide
| mrdivide
| mtimes
| plus
| power
| rdivide
| times
| transpose