The following Matlab project contains the source code and Matlab examples used for principal component analysis a simulink block. Made a PCA block (principal component analysis) within Simulink. Block calculates the principle components on any sized input matrix. Equivalent of the MATLAB PRINCOMP command (currently only outputs PC).
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.