Introduction - If you have any usage issues, please Google them yourself
Use MATLAB's own function princomp () to calculate the principal component. When the dimension is very high, the memory exhaustion error usually occurs, even if the memory is enough, it is very time-consuming. Fast PCA can speed up the computation process and reduce memory footprint, making it easier to calculate the larger image principal components.