I do not like this
    3 views (last 30 days)
  
       Show older comments
    
>> [1 2].*[1;2] ans = 1 2 2 4
I prefer the error message!
1 Comment
  Rishabh Rathore
    
 on 27 Jul 2018
				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.
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
