I do not like this
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
>> [1 2].*[1;2] ans = 1 2 2 4
I prefer the error message!
1 Kommentar
Rishabh Rathore
am 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.
Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!