ex4_6.m

来自「Advanced Engineering Mathematics using M」· M 代码 · 共 10 行

M
10
字号
% EX4_6.M Verify results of Example 4.6%  Compute eigenvalues and eigenvectors using eigA=[1 -1 0;0 1 1;0 0 -2][V,D]=eig(A)		% V has eigenvectors as columns%                          diag(D) are the eigenvalues%% Note that D has integer values so MATLAB is "perfect" in this case %   in determining eigenvalues%% Normalize columns of V to show that one eigenvector is [1 3 -9]'

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?