number^matrix plz help me on this, I cant understand this, plz help me
Show older comments
number^matrix example a=[1 2;3 4] is a 2x2 matrix 3^a= [87.8864,127.1198;190.6797,278.5661] how come these numbers? [87.8864,127.1198;190.6797,278.5661]
plz help me on this algorithm of calculation these numbers...
Accepted Answer
More Answers (7)
Jan
on 20 Jul 2011
1 vote
The documentation explains it: "Z = x^Y is x to the Y power [...]. Computed using eigenvalues and eigenvectors."
Well. Hm. Everything clear now?
[EDITED] See this link: http://freemat.sourceforge.net/help/operators_matrixpower.html. But here some strange limitations are embedded: "(problems arise with non-symmetric matrices b, so let us assume that b is symmetric)" - without any further explanations.
John D'Errico
on 20 Jul 2011
1 vote
They did a better job of explaining it all than I will do in a short space anyway.
aliya
on 20 Jul 2011
0 votes
aliya
on 20 Jul 2011
0 votes
1 Comment
Jan
on 20 Jul 2011
+1 for this fair question. Matlab's documentation reminds me to a German commercial: "Contains the best of a 1/4 liter of milk" - when pure fat is meant.
20 minutes with Google did not increase my knowledge about a^B, but I've learnt something about "quantum healing".
Honglei Chen
on 21 Jul 2011
0 votes
Hi ailya,
As Teja mentioned above, the key thing to understand is a^x can be expanded using Taylor series. The second piece that the matrix power can be carried out using eigen-decomposition. For example, assume that
A = EDE^(-1)
where E is the eigenvector and D is the diagonal matrix of eigenvalues, then the power of A can be written as
A^2 = EDE^(-1)*EDE^(-1) = ED^2E^(-1)
Similar derivation can show that
A^n = ED^nE^(-1)
So putting both pieces together, you get
3^A = e^(A*ln3) = 1+A*ln3+A^2*(ln3)^2+... = 1+ln3*EDE^(-1) + (ln3)^2*ED^2E^(-1)...
HTH,
Honglei
aliya
on 21 Jul 2011
0 votes
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!