Solving a quadratic matrix equation with fat matrix I am trying to find an $n \times m$ fat (i.e., $m > n$) matrix $T$ that solves
$$T^T T = X$$
where $X$ is a given $m \times m$ symmetric, positive semidefinite matrix.
I saw this post, but unfortunately it seems that no solution was yet found and $T$ in that case is squared, which is not my case. 
If $T$ were square, one could use the Cholesky decomposition and find $Z$ such that $X = Z^T Z$. Unfortunately, I cannot do this since the Cholesky decomposition always produces a square $Z$.
 A: (For the original question):
As $X$ is positive definite,  its rank equals to $m$, and there will be no solution $T$ with $n<m$. 
On the other hand if your $n>m$ then you can append the corresponding number of 0 rows to $Z$ from the Cholesky decomposition and obtain the matrix $T$ sought.
For the positive semidefinite case (the edited question): you still can compute the Cholesky-like decomposition; see Cholesky decomposition of a positive semi-deﬁnite
(I edited my 2nd edition, as it was nonsense, and made my answer community wiki)
A: I assume that the matrices are real, we know $ X $ and we seek a solution in $ T $.
Case 1.$ rank(X)>n $.There are no solutions in $ T $.
Case 2.$ rank(X)\leq n $.There is an orthogonal matrix $  P$ 
and a diagonal matrix $ D=diag(\lambda_1,\cdots,\lambda_n,0,\cdots,0) $ s.t. $ X=PDP^T $ and
$\lambda_i\geq 0 $ then $ W^TW=D $ with $ W=TP^{-T} $.since $  P$ is known,it suffices to 
obtain a solution in $W$.we choose $ W=[S_{n,n},0_{n,m-n}] $ with$ S^TS=diag(\lambda_1,\cdots,\lambda_n) $. for instance , $ S=diag(\sqrt{\lambda_1},\cdots,\sqrt{\lambda_n}) $.
A: Let $A:=\sqrt X$, which is positive definite by the assumption. So, if $T$ solves $T^TT=X$ then $U:=TA^{-1}$ verifies $U^TU=A^{-1}T^TTA^{-1}=A^{-1}(T^TT)A^{-1}=I$, that is, $T$ writes $T=UA$ with $U$ a linear isometry.  Conversely, any $T$ of the form $T:=UA$ with a linear isometry $U$, solves the equation.
