7-3 �x�}���S�x�h����

µ¹©w¤@¤è°} A¡A¨ä¯S¼x¦h¶µ¦¡¬° $|A-xI|$¡C§Ú­Ì¥i¥Î MATLAB «ü¥O poly ¨Ó­pºâ¯S¼x¦h¶µ¦¡¡A¨Ò¦p¡G

Example 1: 07-¦h¶µ¦¡ªº³B²z»P¤ÀªR/poly01.mA = [1 3 4; 2 4 1; 1 6 2]; p = poly(A)p = 1.0000 -7.0000 -2.0000 -25.0000

¨ä¤¤ $p(x)= x^3-7x^2-2x-25$ §Y¬°¯x°} A ªº¯S¼x¦h¶µ¦¡¡C

¯S¼x¦h¶µ¦¡ªº®Ú§Y¬°¯x°} A ªº¯S¼x­È¡A¥iÅçºâ¦p¤U¡G

Example 2: 07-¦h¶µ¦¡ªº³B²z»P¤ÀªR/poly02.mA = [1 3 4; 2 4 1; 1 6 2]; p = poly(A); % ¤è°}ªº¯S¼x¦h¶µ¦¡ r = roots(p); % ¯S¼x¤èµ{¦¡ªº®Ú¡A¥ç§Y©T¦³­È det(A-r(1)*eye(3)) det(A-r(2)*eye(3)) det(A-r(3)*eye(3))ans = -5.1682e-013 ans = -4.0233e-014 +1.3232e-014i ans = -4.0233e-014 -1.3232e-014i

¥Ñ¤W­z½d¨Ò¥i±oª¾¡A¯S¼x¤èµ{¦¡ªº®Ú·|Åý $A-rI$ ªº¦æ¦C¦¡­È¬°¹s¡A$r$ ¦P®É¤]¬O¤è°} A ªº¯S¼x­È©Î©T¦³­È¡]Eigenvalues¡^¡C

Hint
¥i¥Îeig«ü¥O¨Óª½±µ­pºâ¤è°} A ªº¯S¼x­È¤Î¯S¼x¦V¶q¡C


MATLABµ{¦¡³]­p¡G¶i¶¥½g