Unit vector on nested vector

27 Views Asked by At

I got a vector of form $Z=\{\{x_1,y_1\},\{x_2,y_2\},...,\{x_n,y_n\}\}$ and I need to find its unit vector in a way that $||Z||=1$. How I would be able to do that?

I already tried several way and none of them gave me a satisfying result.

Thanks in advance.