Friday, August 12, 2011

Matlab multidimensional array operation?

Hi, I haven't used matlab too long and I haven't found anything by searching online so I thought I would ask here. I have a 4 dimensional array and also a 2 dimensional matrix. We'll call the 4 dimensional array (a,b,3,d) and the 2 dimensional matrix (3,d). What I want is to take a given element in the 2 dimensional matrix (i,j) and multiply (a,b,i,j) by that. Is there any other good way to do this other than by using a loop?

0 comments:

Post a Comment