How to obtain the distance (dissimilarity) between two vectors?

43 Views Asked by At

Supposed that two entities ($A$, and $B$) with several features, and we wrap the features into two vectors, namely

$v_A=(area_A, distance_A, angle_A,...)$,

$v_B=(area_B, distance_B, angle_B,...)$.

The features in the the vectors are with different units. How can I obtain the distance(dissimularity) between two vectors. For instance,

$v_A=(2 meter^2, 3 meters, 50 degrees,...)$,

$v_B=(1.5 meter^2, 4 meters, 40 degrees,...)$.

Can I calculate the distance by

$d_{AB}=\sqrt{(2-1.5)^2+(3-4)^2+(50-40)^2+...}$ ?

I need to normalize them? And how to do it?