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

📄 p3_22.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% P3_22 Determine if matrix A*B is symmetric% As written the script uses fixed matrices A*B and%  displays A, B, and A*B and the result%  This script calls function is_symA = [3 2 0;2 2 -2;0 -2 4]B = [1 0 1;0 2 0;1 0 3]fprintf('\n Press a key to continue Atest=A*B\n');pauseAtest=A*B%if is_sym(Atest) fprintf('\n A*B is symmetrical\n\n')else fprintf('\nA*B is not symmetrical\n\n')end%% Rewrite the script as a more general script or as a function% to allow input and testing of arbitrary matrices %

⌨️ 快捷键说明

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