⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex4_9.m

📁 Programs for the book Advanced Engineering Mathematics using MATLAB, 2ndEd.
💻 M
字号:
% EX4_9.M Find eigenvalues and eigenvectors
%    for matrix A=[1 -1 0;0 1 1;0 0 -2]
%  The M-file corresponds to the session in Example 4.9
clear
A=[1 -1 0;0 1 1;0 0 -2]
EIG=eig(A)               % Determine eigenvalues
POLY=poly(A)             %  and characteristic polynomial
[V,D]=eig(A)             % V contains eigenvectors 
%                          diag(D) is eigenvalues
% % Take third column and set V(1,3)=1
V3=V(:,3)
v33=V3/V(1,3)

⌨️ 快捷键说明

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