# How to find $K,W,S$ in the Mostow decomposition theorem?

The Mostow decomposition theorem states: Let $Z$ a nonsingular complex matrix, then $Z$ can be factored as: $$Z=We^{iK}e^S$$ where: $W$ is unitary, $K$ is real and skew symmetric and $S$ is real and symmetric. Given a complex matrix $Z$ how is it possible to find $K,S,W$? Thanks