I want to separate into two matrices in Matlab like this:
$$ Q=Sq^{T}Sq $$ for example this matrix: $$ Q=\Biggm[\matrix{92.316 &31.78&240.417\cr 31.78 &194.66 &275.47\cr 240.417 &275.47 &938.99}\Biggm] $$
You can the Cholesky factorization.
In matlab its very easy.
A= [92.316 31.78 240.417; 31.78 194.66 275.47; 240.417 275.47 938.99]
B=chol(A)
B'*B