search for: 500x6

Displaying 1 result from an estimated 1 matches for "500x6".

Did you mean: 5006
2007 Sep 27
1
A matrix multiplication
Dear all, I'm having trouble using the 'apply' function to multiply some arrays. Let A be a 500x2 array and B a 500x3 array. I need a vector C which has 6 columns being the first three the result of A[,1] * B and the second three the result of A[,2] * B. What is the most efficient way to express that? I'm trying to use 'apply' with no success... Thanks for your