What is the correct MATLAB command to solve the linear system Ax = b?

  • AInv(A)*b
  • BA\b
  • CSolve(A, b)
  • DNone of these
Show answerHide answer

Correct answer B

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.