I have 2 numpy array with equal shape.
V = [[-1 -1 -1] [-2 -2 -2] [-3 -3 -3]]
U = [[1 2 3] [2 3 4] [3 4 5]]
I want to convert matlab to python for below line.
Ot = U*([V(:,1) V(:,2) -V(:,3)])';
I want to convert this matlab code in python.
How can I do that? Inside V(:,1) and V(:,2) are multiplying?