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!