📄 ex4_9.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.9clearA=[1 -1 0;0 1 1;0 0 -2]EIG=eig(A) % Determine eigenvaluesPOLY=poly(A) % and characteristic polynomial[V,D]=eig(A) % V contains eigenvectors % diag(D) is eigenvalues% % Take third column and set V(1,3)=1V3=V(:,3)v33=V3/V(1,3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -