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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2017년 11월 11일

댓글:

2017년 11월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by