Pcarep

PCA reproduction

This function performs PCA reproduction of the original data matrix x with nf components.

function [u,s,v,x,sigma]=pcarep(xi,nf)

Inputs:
xi: original input data matrix
nf: number of components to be included in the reproduction

Outputs:
u,s,v, x: as in svd matlab function [u,s,v]=svd(x)
x: pca reproduced data matrix
sigma: percent of lack of fit (PCA lof)


Authors:
Roma Tauler & Anna de Juan
Chemometrics and Solution Equilibria group / University of Barcelona
Department of Analytical Chemistry
Diagonal 647, Barcelona 08028
Date: 1999
e-mail roma@quimio.qui.ub.es

Contact: Sébastien Gourvénec: sebastien.gourvenec@vub.ac.be

References


Adress of the file
Cubatch's main directory