?? gauss.m
字號:
function x = gauss (A,b)
%----------------------------------------------------------------
% Usage: x = gauss (A,b)
%
% Description: Solve linear algebraic system, Ax = b, using
% Gaussian elimination.
%
% Inputs: A = m by n coefficient matrix
% b = m by 1 right-hand side vector
%
% Outputs: x = n by 1 solution vector
%
% Note: A must be of full rank. If m ~= n, then the
% minimum least-squares solution of Ax = b is
% computed.
%----------------------------------------------------------------
chkvec (b,2,'gauss');
x = A\b;
%----------------------------------------------------------------
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -