Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16045 > unrolled thread

bug in Print

Started byAlan <alan.isaac@gmail.com>
First post2013-10-10 20:47 +0000
Last post2013-10-11 09:01 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  bug in Print Alan <alan.isaac@gmail.com> - 2013-10-10 20:47 +0000
    Re: bug in Print Roland Franzius <roland.franzius@uos.de> - 2013-10-11 09:01 +0000

#16045 — bug in Print

FromAlan <alan.isaac@gmail.com>
Date2013-10-10 20:47 +0000
Subjectbug in Print
Message-ID<l373pm$fgl$1@smc.vnet.net>
Try this in the front end:

Clear[i]
mA = {{0, 1, 0}, {0, 0, 1}, {1, 0, 0}}
Print[MatrixPower[mA, i]]

Alan Isaac
Mathematica version 9

[toc] | [next] | [standalone]


#16052

FromRoland Franzius <roland.franzius@uos.de>
Date2013-10-11 09:01 +0000
Message-ID<l38epp$jb3$1@smc.vnet.net>
In reply to#16045
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web