Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16045 > unrolled thread
| Started by | Alan <alan.isaac@gmail.com> |
|---|---|
| First post | 2013-10-10 20:47 +0000 |
| Last post | 2013-10-11 09:01 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | Alan <alan.isaac@gmail.com> |
|---|---|
| Date | 2013-10-10 20:47 +0000 |
| Subject | bug 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]
| From | Roland Franzius <roland.franzius@uos.de> |
|---|---|
| Date | 2013-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