This is a basic principal component analysis program. The program is basically a function definition calling matlab good, so more convenient, if you need KPCA, RPCA, DPCA and so on, all can be improved on this basis. The algorithm is mainly used in the field of fault diagnosis, the algorithm process I was drawn, I hope useful for everyone!