I do not like this
1 回表示 (過去 30 日間)
古いコメントを表示
>> [1 2].*[1;2] ans = 1 2 2 4
I prefer the error message!
1 件のコメント
Rishabh Rathore
2018 年 7 月 27 日
What you are getting is the matrix with all possible combinations of elements multiplied. The element wise multiplication gives that if you multiply a row and a column vectors element wise, please refer times.
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!