MATLAB is used to solve a set of linear equations (Ax=b) by inverting the matrix A and multiplying by the b vector. Three ways to solve A*x=b are: x = inv(A)*b % good x = A\b % better x = linsolve(A,b) % best See for additional details.
MATLAB is used to solve a set of linear equations (Ax=b) by inverting the matrix A and multiplying by the b vector. Three ways to solve A*x=b are: x = inv(A)*b % good x = A\b % better x = linsolve(A,b) % best See for additional details.