Using SOLVE with large number of equations and variables
10 visualizzazioni (ultimi 30 giorni)
Is there a way to use the command X = solve([eqn1, eqn2, eqn3, [x1 x2 x3]) for very large number of equations and variables without typing explicitly :equ1, equ2, equ3 and x1,x2,x3? The equations are Kirchoff's loop and node equations and the variables are the currents.
Pujitha Narra il 6 Gen 2020
As far as I understand, you are looking for simpler way to solve the Kirchoff's loop equations.
In your case, it is right that you could use iterative methods. Especially Gauss-Seidel and Jacobian methods would be of great help for solving Kirchoff's loop equations as far as I know. These are good for sparse matrices.
The following link would lead you to a MATLAB File Exchange page which could help you get started with the above mentioned iterative methods. Please note that MATLAB File Exchange is community based and any further queries regarding the code can be directed to the author.