Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12049 > unrolled thread
| Started by | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| First post | 2012-10-12 04:08 +0000 |
| Last post | 2012-10-12 04:08 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: trouble with obtaining eigenvalue of parametric matrix Murray Eisenberg <murray@math.umass.edu> - 2012-10-12 04:08 +0000
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Date | 2012-10-12 04:08 +0000 |
| Subject | Re: trouble with obtaining eigenvalue of parametric matrix |
| Message-ID | <k5854b$int$1@smc.vnet.net> |
As the error message indicated, your list doesn't represent a matrix. A matrix is represented by a list consisting of lists, representing its rows, that all have the same length. Look at your list:
mat = {{ec, tc, tc, , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {tc, ec, 0, tc,
0, 0, 0, 0, 0, 0, 0, 0, 0}, {tc, 0, ec, 0, tc, 0, 0, 0, 0, 0, 0,
0, 0}, {0, tc, 0, ec, 0, tc, zc, xc, 0, 0, 0, 0, 0}, {0, 0, tc, 0,
ec, tc, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, tc, tc, ec, 0, 0, 0, 0,
0, 0, 0}, {0, 0, 0, zc, 0, 0, ez, 0, 0, 0, 0, 0, 0}, {0, 0, 0, xc,
0, 0, 0, ex, 0, xo, xy, xo, xy}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
ey, nyx, yy, yx, yy}, {0, 0, 0, 0, 0, 0, 0, xo, nyx, ex, 0, 0,
0}, {0, 0, 0, 0, 0, 0, 0, xy, yy, 0, ey, 0, 0}, {0, 0, 0, 0, 0, 0,
0, xo, nyx, 0, 0, ex, 0}, {0, 0, 0, 0, 0, 0, 0, xy, yy, 0, 0, 0,
ey}};
Dimensions/@ mat
{{14}, {13}, {13}, {13}, {13}, {13}, {13}, {13}, {15}, {13}, {13}, \
{13}, {13}}
You can see the same thing is you inspect the output of:
mat // MatrixForm
On Oct 11, 2012, at 2:07 AM, Mehrzad Sasanpoor <mz_spoor@yahoo.com> wrote:
>
> I have a parametric 13*13 matrix as following and I want to find their eigenvalues in term of these parameters.
>
> Eigenvalues[{{ec,
> tc, tc, ,0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {tc, ec, 0, tc, 0, 0, 0, 0, 0, 0, 0, 0,
> 0}, {tc, 0, ec, 0, tc, 0, 0, 0, 0, 0, 0, 0, 0}, {0, tc, 0, ec, 0, tc, zc, xc, 0,
> 0, 0, 0, 0}, {0, 0, tc, 0, ec, tc, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, tc, tc, ec, 0,
> 0, 0, 0, 0, 0, 0} ,{0, 0, 0, zc, 0, 0, ez, 0, 0, 0, 0, 0, 0}, {0, 0, 0, xc, 0, 0,
> 0, ex, 0, xo, xy, xo, xy}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ey, nyx, yy, yx, yy},
> {0, 0, 0, 0, 0, 0, 0, xo, nyx, ex, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, xy, yy, 0, ey,
> 0, 0}, {0, 0, 0, 0, 0, 0, 0, xo, nyx, 0, 0, ex, 0}, {0, 0, 0, 0, 0, 0, 0, xy, yy,
> 0, 0, 0, ey}}]
>
>
> but I face with this error?
>
> Eigenvalues::matsq: Argument \
> {{ec,tc,tc,0,0,0,0,0,0,0,<<3>>},{tc,ec,0,tc,0,0,0,0,0,0,<<3>>},{tc,0,\
> =
ec,0,tc,0,0,0,0,0,<<3>>},<<5>>,{0,0,0,0,0,0,0,0,0,0,<<5>>},{0,0,0,0,0,\
> 0,0,xo,nyx,ex,<<3>>},<<3>>} at position 1 is not a nonempty square \
> matrix. >>
>
> what should I do?
>
> thanks a lot for your attention
---
Murray Eisenberg
murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web