number^matrix plz help me on this, I cant understand this, plz help me
Afficher commentaires plus anciens
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...
Réponse acceptée
Plus de réponses (7)
Jan
le 20 Juil 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
le 20 Juil 2011
1 vote
They did a better job of explaining it all than I will do in a short space anyway.
aliya
le 20 Juil 2011
0 votes
aliya
le 20 Juil 2011
0 votes
1 commentaire
Jan
le 20 Juil 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
le 21 Juil 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
le 21 Juil 2011
0 votes
Catégories
En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!