ex4_4.m

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

M
10
字号
% EX4_4.M  Check results of Example 4.4%  Uses command eig to find eigenvalues and eigenvectorsformat rat       % Rational fractionsR=[2 1;1 2]      % Define resistance matrixG=inv(R)         % Find conductivity matrix[V,D]=eig(G)     % Determine eigenvectors (V) and%                    eigenvalues (diag(D))fprintf('Eigenvectors are columns of V- normalized')%

⌨️ 快捷键说明

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