ABSTRACT

The matrix left and right divisions can also be used to obtain the nodal voltages. The following MATLAB commands can be used to find the matrix [V]:

(4.5)

or

(4.6)

The solutions obtained from Equation (4.4) to Equation (4.6) will be the same, provided the system is not ill-conditioned. The following two examples illustrate the use of MATLAB for solving nodal voltages of electrical circuits.