필터 지우기
필터 지우기

System of equations problem help

조회 수: 2 (최근 30일)
Matthew Lozancich
Matthew Lozancich 2017년 11월 11일
댓글: Star Strider 2017년 11월 11일
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?

채택된 답변

Star Strider
Star Strider 2017년 11월 11일
Guessing here. You may want this instead:
output = A\b;
  댓글 수: 2
Matthew Lozancich
Matthew Lozancich 2017년 11월 11일
OMG..I'm so dumb haha.. thank you..
Star Strider
Star Strider 2017년 11월 11일
As always, my pleasure.
If my Answer helped you solve your problem, please Accept it!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by