I have two matrices 1 2d and 1 1d I wish to multiple the first element of the 1d by the each element of the first column of the 2d, the second element of the 1d by all the elements of the second column of the the 2d and so on. However I dont know how to implement this?
111 x 123 = 123 (The number of columns in the 1d array will always be the same as the number in the 2d array)
Any help would be greatly appreciated.
Solved! Go to Solution.