System of equations problem help
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Star Strider
2017 年 11 月 11 日
Guessing here. You may want this instead:
output = A\b;
2 件のコメント
Star Strider
2017 年 11 月 11 日
As always, my pleasure.
If my Answer helped you solve your problem, please Accept it!
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!