(42S; DM 42) Eigenvalues and eigenvectors of symmetric matrices
|
06-15-2023, 02:51 PM
(This post was last modified: 07-02-2023 02:32 PM by rawi.)
Post: #1
|
|||
|
|||
(42S; DM 42) Eigenvalues and eigenvectors of symmetric matrices
User Instructions:
(Optional: Put the starting number of the random number generator in SEED) Put symmetric matrix in M1. Run program. The vector of eigenvalues is in M2, matrix of standardized eigenvectors is in M3. Example: Matrix: 1.00 -0.36 0.12 -0.36 1.00 0.09 0.12 0.09 1.00 Store matrix in M1 - PI SEED - XEQ EVV Result: Eigenvalues: RCL “M2” -> 1.3613; 1.0521; 0.5866 Eigenvalues are sorted according to absolute size. Eigenvectors: RCL “M3” -> eigenvectors are in corresponding columns: -0.7149 0.1937 0.6719 0.6963 0.2848 0.6587 -0.0638 0.9388 -0.3386 Code: 00 { 186-Byte Prgm } Edit: Slightly shorter version of program |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)