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

📄 ex4_10.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% EX4_10.M Compare qr and eig commands to find eigenvalues%  The script pauses after each qr iterationA = [1 -1 0 0;3 5 0 0;0 0 1 5;0 0 -1 1][V,D]=eig(A)pause% Compute QR sequence; R*Q converges to quasi-diagonalN=input('Number of Iterations, N= ')for I=1:N,[Q,R]=qr(A);,I,A=R*Q,pause,end%% Note: this is a good script to step through to determine%  the operation of the qr command

⌨️ 快捷键说明

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