solve_equations.m

来自「matlab实例」· M 代码 · 共 9 行

M
9
字号
%***********************************************************************
%  function solve_equations
%
%  solve a system of equations
%***********************************************************************
function [x] = solve_equations(A,b)

x = A\b;     % this solves the set of equation Ax = b
             % could also use x = inv(A) * b, but not good for large equations

⌨️ 快捷键说明

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