ex4_4.m

来自「Programs for the book Advanced Engineeri」· M 代码 · 共 10 行

M
10
字号
% EX4_4.M  Check results of Example 4.4
%  Uses command eig to find eigenvalues and eigenvectors
format rat       % Rational fractions
R=[2 1;1 2]      % Define resistance matrix
G=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 + -
显示快捷键?