www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SystemofEquationsExample.m

    %% System of Equations  
% Solve a simple system of linear equations, |A*x = B|.   

%%  
A = magic(3);
B = [15; 15; 15];
x = A\B