Assume we have the following matrix A = [ 1 2; 3 4; 5 6]; and we want to do the following multiplication
[ A(:,1)*A(:,1)';A(:,2)*A(:,2)'] without loop. So the result should be like this B =
1 3 5 3 9 15 5 15 25 4 8 12 8 16 24 12 24 36 Could you please help me with this problem. Thanks
Best Answer