I have a 5000×10, and another 5000×20 matrix. I want to dot multiply 5000 of each corresponding 10×1 & 1×20 vectors.
I want to get back 5000 of this operation. (10,1) .* (1,20) ==> (10×20). Thus into a (5000,10,20) matrix.
I can go into a loop for 5000 times. But is there a quicker mechanism in Matlab?
Thanks.
Best Answer