Hello everybody,

I have a matrix P with size 3xN and another matrix T with size 3×480. The 3 rows that have the two matrix make reference to the x,y,z of each point. What I want to do is compute the distance of every of the 480 points of matrix T with all the points of matrix P, obtaining a D matrix of 480xN. Can i do this without fors and loops? Thanks.

## Best Answer