So be careful, when using these methods, and try to select a good starting point
http://guettel.com/rktoolbox/examples/html/example_sqrtm.html

Fitting PCA in 10 lines of Matlab

https://youtu.be/hmmnRF66hOA?t=2583