p3_21.m

来自「Programs for the book Advanced Engineeri」· M 代码 · 共 10 行

M
10
字号
% P3_21.M Solve for currents I in the equation
%   A*I=b; (This file displays the values of A, b and I) 
%
A=[10 -9 0;-9 20 -9;0 -9 15]
b=[100 0 0]'
I=A\b
%
% Improve the M-file by adding text to the output
% You might also want to make this a function I=fsolve(A,b)
%

⌨️ 快捷键说明

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