Matrix division does not work because of matrix dimensions
9 ビュー (過去 30 日間)
古いコメントを表示
I have two matrices:
A: 5 by 5
B: 5 by 3
How can I claculate matrix division as B divided by A?
I have used:
B / A
B \ A
B ./ A
But all of them show this message:
"Matrix dimensions must agree."
0 件のコメント
採用された回答
Ridwan Alam
2019 年 11 月 21 日
編集済み: Ridwan Alam
2019 年 11 月 21 日
B\A gives a warning, but not an error.
B\A means inv(B)*A. But your B is not square, so inv(B) won't work.
And, you are not looking for A\B?
4 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!