System of equations problem help
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Matthew Lozancich
am 11 Nov. 2017
Kommentiert: Star Strider
am 11 Nov. 2017
function output=find_current(a,e,c,d)
V=a;
R1=e;
R2=c;
R3=d;
A=[-1 1 1 0; 0 1 1 -1; R1 0 R3 0; R1 R2 0 0];
b=[0 0 V V]';
output=(A/b);
end
Why is the transpose not working on the b matrix?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 11 Nov. 2017
Guessing here. You may want this instead:
output = A\b;
2 Kommentare
Star Strider
am 11 Nov. 2017
As always, my pleasure.
If my Answer helped you solve your problem, please Accept it!
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!