Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Linear Algebra and the C Language/a0on

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

__NOTOC__ The eigenvalues ​​of A**P correspond to the eigenvalues ​​of A to the power of P: Copy/Paste into the octave window % The eigenvalues ​​of A**P correspond to the eigenvalues ​​of A to the power of P: clear, clc n = 3; P = 2; A = round(10*randn(n)); %% A matrix nxn A = A'*A %% A symetric matrix % Eigenvalues printf (" eigs(A^%0.f) =\n",P) eigs(A^P) printf (" eigs(A)^%0.f = \n",P) power(eigs(A),P) %% Screen output example: A = 62 -27 7 -27 69 -23 7 -23 86 eigs(A^2) = 1.2565e+04 4.7606e+03 1.2895e+03 eigs(A)^2 = 1.2565e+04 4.7606e+03 1.2895e+03