Lets say we have a known unit vector, $v$. Consider multiplying this vector by a known square matrix $M$ that keeps the vector in the space, but changes the direction and length of $v$ in general, $v \rightarrow v' = Mv$. If we renormalize this vector to have unit length by dividing by $\sqrt{v' v'^{*}}$, we have moved between two vectors with length-one that point in different directions, which is a rotation. Is there a way to find a unitary matrix that accomplishes this same rotation given $M$ and $v$?
This question seems similar and useful: Finding the rotation matrix in n-dimensions but the givens are the two vectors. Here we only have $M$ and $v$ to use.
Thanks!