Jump to content

Circuit Theory/Simultaneous Equations/Example 4/ex4matlab

From Wikibooks, open books for an open world
a =[100 0 0 0 0 -1 0 0 0 0 
0 200 0 0 0 0 -1 0 0 0 0
0 0 100 0 0 0 0 -1 0 0 0
0 0 0 200 0 0 0 0 -1 0 0
0 0 0 0 100 0 0 0 0 -1 0
0 0 0 0 200 0 0 0 0 0 -1
0 0 0 0 0 1 1 0 0 0 0
0 0 0 0 0 0 -1 1 1 0 0
0 0 0 0 0 0 0 0 -1 1 1
1 -1 -1 0 0 0 0 0 0 0 0
0 0 1 -1 -1 0 0 0 0 0 0];
c = [0;0;0;0;0;0;1;0;0;0;0];
format short eng
a\c