Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10513 > unrolled thread
| Started by | Guido <gbellomo@gmail.com> |
|---|---|
| First post | 2012-06-18 09:42 +0000 |
| Last post | 2012-06-18 09:42 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Eigendecomposition problem? Guido <gbellomo@gmail.com> - 2012-06-18 09:42 +0000
| From | Guido <gbellomo@gmail.com> |
|---|---|
| Date | 2012-06-18 09:42 +0000 |
| Subject | Eigendecomposition problem? |
| Message-ID | <jrmt71$h1e$1@smc.vnet.net> |
Hi! I'm having some trouble with this. In the code I define two
matrices, then calculate its eigenvalues/eigenvectors, and finally I
plot the absolute values of the components of the eigenvectors. The
results are consistent with (I'm quite sure) the analytical ones but
only below "t approx 30". Above this value, (only) the first plot
corresponding to one of the vectors shows some strange behaviour.
Any idea? Thanks!
This is the code:
Clear[a, b, w, g, t]
\[Rho]t = {{a, b*Exp[-I*w*t - g*t]}, {b\[Conjugate]*Exp[I*w*t - g*t],
1 - a}};
{e1, e2} = Eigenvalues[\[Rho]t];
{v1, v2} = Eigenvectors[\[Rho]t];
a = 0.6`1000; b = 1`1000 + 2`1000*I; w = 1`1000; g = 1`1000;
v1n = Normalize[N[v1, 1000]]; v2n = Normalize[N[v2, 1000]];
Abs1 = {Abs[v1n[[1]]], Abs[v1n[[2]]]};
Abs2 = {Abs[v2n[[1]]], Abs[v2n[[2]]]};
Plot[Abs1, {t, 0, 50}, Filling -> Bottom]
Plot[Abs2, {t, 0, 50}, Filling -> Bottom]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web