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

📄 ex4_15.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% EX4_15.M  Compute the modal matrix for a matrix%  % INPUT:  Matrix A% OUTPUT: Display of modal matrix, diagonalized matrix Adiag, %           expAdiag=exp(Adiag), and expA=exp(A) %  Calls function clmodal%A=input('Input the matrix A= ')   % Define the matrix[M,Adiag]=clmodal(A);             % Compute the matricesfprintf('Modal matrix and diagonalized matrix \n')M                                 % Display Modal matrixAdiag                             % Diagonalized matrixfprintf('Press a key to continue \n')pausefprintf('Display of exp(Adiag) and exp(A) \n')Minv=inv(M);	      % M^-1			Adiag=Minv*A*M;       %  Form modal equationexpAdiag=expm(Adiag)  %  Display exp(Adiag)expA=M*expAdiag*Minv  %  Display exp(A)%% Note: there are simpler ways to do some of the statements%    improve the program  

⌨️ 快捷键说明

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