I do not like this
3 次查看(过去 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!