(42S; DM 42) Eigenvalues and eigenvectors of symmetric matrices - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (42S; DM 42) Eigenvalues and eigenvectors of symmetric matrices (/thread-20090.html) |
(42S; DM 42) Eigenvalues and eigenvectors of symmetric matrices - rawi - 06-15-2023 02:51 PM 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 |