Compute principal components of X [pc,z,w,Tsq] = princomp(X) pc the principal components z the transformed data w the eigenvalues of the covariance matrix Tsq Hotelling's T^2 statistic for the transformed data