I have a problem and I am not able, so far, to find the solution.
I am trying to understand if there is a way, given a symmetric matrix $B$ (which is computed as $B=A^TA$ where I know the matrix $A$) to compute one of its basis in a closed form (analytical way).
I can easily solve my problem by the matlab command:
basis = orth(B)
Which gives me a basis of the matrix $B$.
The problem is that matlab, of course, uses a numerical way to find this basis while I was wondering if there is a closed form to express this basis.
thanks in advance for your help.