MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: bug in Print


Am 10.10.2013 22:47, schrieb Alan:
> Clear[i]
> mA = {{0, 1, 0}, {0, 0, 1}, {1, 0, 0}}
> Print[MatrixPower[mA, i]]


Did you expect something different? Try

Eigensystem[mA]

The MatrixExp ist the diagonalmatrix of the eigenvalues transformed by 
the unitary matrix of the eigenvectors.

Confusing the imaginary unit I and the symbol i?

Try

Print[MatrixForm[N[MatrixPower[mA, i], 3]]]

-- 

Roland Franzius



  • Prev by Date: Re: bug in Print
  • Next by Date: Re: bug in Print
  • Previous by thread: Re: bug in Print
  • Next by thread: Re: bug in Print