column vector dot multiplied with a row vector. Multiple such operations..
Mostrar comentarios más antiguos
I have a 5000x10, and another 5000x20 matrix. I want to dot multiply 5000 of each corresponding 10x1 & 1x20 vectors.
I want to get back 5000 of this operation. (10,1) .* (1,20) ==> (10x20). 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Statics and Dynamics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!