matlab实现偏最小二乘法。。。。。%%PrincipalComponentAnalysisandPartialLeastSquares%PrincipalComponentAnalysis(PCA)andPartialLeastSquares(PLS)are%widelyusedtools.Thiscodeistoshowtheirrelationshipthroughthe%NonlinearIterativePArtialLeastSquares(NIPALS)algorithm.