
product 3D matrix with a vector
Posted:
Jan 2, 2012 8:12 AM


Hello,
I have 1 3D matrix like this A(n,m,k) and 1 vector like this V(m,1)
what I am trying to do is the sum of the products of each 2D matrix A(n,m) that I can extract from the 3D matrix A(n,m,k) with the vector V(m,1).
Is it possible to do it in one single command using <sum> ? I mean without the for..end loop.
Thanks again P

