Matrix Kirchhoff's current rule problem
古いコメントを表示
I'm trying to write a script file just to show the results or "current" as a column vector, I keep getting this error: Error using / Matrix dimensions must agree.
Error in RunFcn4 (line 10) current = a / b
My matrix is 6x6 so I'm not sure what this error means. %Solve the system of linear equations a = [ 1 1 1 0 0 0 0 -1 0 1 0 0 0 0 0 -1 1 0 0 0 -1 0 -1 1 0 -10 10 5 -15 0 -10 0 -10 0 0 -20];
b = [0 0 0 0 0 200]'; current = a / b
採用された回答
その他の回答 (1 件)
Go Detroit Lions
2018 年 10 月 11 日
0 投票
2 件のコメント
madhan ravi
2018 年 10 月 11 日
https://www.mathworks.com/help/index.html read the link especially under examples.
madhan ravi
2018 年 10 月 11 日
編集済み: madhan ravi
2018 年 10 月 11 日
カテゴリ
ヘルプ センター および File Exchange で Mathematics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
