What is the correct MATLAB command to solve the linear system Ax = b?
- inv(A)*b
- A\b
- solve(A, b)
- None of these
Explanation
The correct command in MATLAB to solve the linear system Ax = b is B) Ab.
The backslash operator `` in MATLAB performs matrix division, which efficiently solves systems of linear equations in the form Ax = b.