I need to compare $n$ 3-dimensional vectors with $k$ 3-dimensional vectors using euclidean distance. Is that possible?
Asked
Active
Viewed 699 times
1 Answers
1
The Euclidean distance between 2 vectors
$\mathbf{u}$: $(u_1, u_2, ... , u_n)$ and $\mathbf{v}$: $(v_1, v_2, ... , v_n)$
is simply
$\sqrt{(u_1-v_1)^2+(u_2-v_2)^2+...+(u_n-v_n)^2}$
Stephen Rauch
- 1,783
- 11
- 22
- 34
aranelladen
- 61
- 5