number^matrix plz help me on this, I cant understand this, plz help me
Mostrar comentarios más antiguos
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...
Respuesta aceptada
Más respuestas (7)
Jan
el 20 de Jul. de 2011
1 voto
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
el 20 de Jul. de 2011
1 voto
They did a better job of explaining it all than I will do in a short space anyway.
aliya
el 20 de Jul. de 2011
0 votos
aliya
el 20 de Jul. de 2011
0 votos
1 comentario
Jan
el 20 de Jul. de 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
el 21 de Jul. de 2011
0 votos
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
el 21 de Jul. de 2011
0 votos
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!