Wrong matrix multiplication answer
古いコメントを表示
Hi, When I multiply a and b
a=[1 -2 0; 3 2 1; -2 1 3];
b=[4, -2 3;-1 5 0;6 1 2];
I get this answer
ans =
6 -12 3
16 5 11
9 12 0
The second row appears to be incorrect. When I do it by hand, the second row becomes [4 3 7]
I'm new to Matlab; is my syntax ok?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!