Skip to main content

Section 4.8 The MATLAB/Octave backslash operator

Linear systems are usually solved in MATLAB/Octave with the \ operator or, equivalently, with the mldivide function. The implementation of the \ operator is quite sophisticated and it uses automatically the best algorithm for the type of system to solve.

In the example below, we use this operator to solve the BVP of the previous section.