Non-graphing calculator supporting complex matrices?
|
03-02-2015, 12:25 AM
Post: #29
|
|||
|
|||
RE: Non-graphing calculator supporting complex matrices?
(03-01-2015 04:24 AM)supernumero Wrote: Still, in the context of my original question, a wish for the ability to find complex eigenvalues and eigenvectors is not fulfilled. Here's the adaption of the program from above that works with complex matrices: Code: 001 - 42,21,15 LBL E The guess for the eigenvalue has to be stored in matrix d 1 2. The guess for the eigenvector is expected in the matrix b which must be in \(\tilde{Z}\) format. The same applies to matrix A. And the dimension (i.e. 2) has to be stored in register I. The challenge was to figure out a means to calculate \(\lambda I\). For the transformation a mix of multiplication, transpositions and change of dimensions was used. As an example the case of 2 dimensions: \[ \begin{bmatrix} 1 \\ 1 \\ \end{bmatrix} \begin{bmatrix} a & b \end{bmatrix} = \begin{bmatrix} a & b \\ a & b \\ \end{bmatrix} \rightarrow \begin{bmatrix} a & a \\ b & b \\ \end{bmatrix} \rightarrow \begin{bmatrix} a & a \\ b & b \\ 0 & 0 \\ 0 & 0 \\ 0 & 0 \\ 0 & 0 \\ \end{bmatrix} \rightarrow \begin{bmatrix} a & b & 0 & 0 & 0 & 0 \\ a & b & 0 & 0 & 0 & 0 \end{bmatrix} \rightarrow \begin{bmatrix} a & b & 0 & 0 \\ 0 & 0 & a & b \end{bmatrix} \] The other thing to consider is that the elements appear twice in the matrix. This has to be corrected when calculating the norm by dividing by \(\sqrt{2}\). Aside from this both programs are very similar. This example was used as a test-case. After 5 iterations the result is exact to 4 places. As a guess for the eigenvector I've used \(\begin{bmatrix} 1 + 0i \\ 1 + 0i \\ \end{bmatrix}\) and \(1 + i\) as guess for the eigenvalue. I haven't tried but I doubt that there's enough memory to handle the 3-dimensional case. The calculation should still be okay if somebody wants to test that with a DM-15 with extended memory. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)