...  ...  @@ 243,7 +243,7 @@ We need to think about the last rotation: U. We need to rotate it back via $`U^* 


We are ready to explore the math behind the curtains. The first step was to figure out the last rotation step with U. Herein, we are after the angle $`\tetha`$. If you look at the 2D example above, it is easy to see that after these transformations, data is to be oriented with respect to variance (this was the objective in PCA, maximize the variance). In other words, we are looking for the angle that gives the maximum variance. So, we need to formulate how the variance changes as we look at different $`\tetha`$ values. In the above 2D example:






```math



\sigma (\tetha) = \sum_{i}^{N} [x_1(i) x_2(i)]\begin{bmatrix} cos(\tetha) \\ sin(\tetha) \end{bmatrix}



\sigma(\tetha) = \sum_{i}^{N} [x_1(i) x_2(i)]



```






where $`x_j`$ is the measured signal.

...  ...  