Wavelet Toolbox™ Previous page   Next Page 
wmspca
 Provide feedback about this page

Multiscale Principal Component Analysis

Syntax

Description

[X_SIM,QUAL,NPC,DEC_SIM,PCA_Params] = wmspca(X,LEVEL,WNAME,NPC) or [...] = wmspca(X,LEVEL,WNAME,'mode',EXTMODE,NPC) returns a simplified version X_SIM of the input matrix X obtained from the wavelet-based multiscale Principal Component Analysis (PCA).

The input matrix X contains P signals of length N stored columnwise (N > P).

Wavelet Decomposition Parameters

The wavelet decomposition is performed using the decomposition level LEVEL and the wavelet WNAME.

EXTMODE is the extended mode for the DWT (See dwtmode).

If a decomposition DEC obtained using mdwtdec is available, you can use

[...] = wmspca(DEC,NPC) instead of

[...] = wmspca(X,LEVEL,WNAME,'mode',EXTMODE,NPC).

Principal Components Parameter: NPC

If NPC is a vector, then it must be of length LEVEL+2. It contains the number of retained principal components for each PCA performed:

NPC must be such that 0 <= NPC(d) <= P for 1 <= d <= LEVEL+2.

If NPC = 'kais' (respectively, 'heur'), then the number of retained principal components is selected automatically using Kaiser's rule (or the heuristic rule).

If NPC = 'nodet', then the details are "killed" and all the approximations are retained.

Output Parameters

X_SIM is a simplified version of the matrix X.

QUAL is a vector of length P containing the quality of column reconstructions given by the relative mean square errors in percent.

NPC is the vector of selected numbers of retained principal components.

DEC_SIM is the wavelet decomposition of X_SIM.

PCA_Params is a structure array of length LEVEL+2 such that:

Examples

Algorithm

The multiscale principal components generalizes the usual PCA of a multivariate signal seen as a matrix by performing simultaneously a PCA on the matrices of details of different levels. In addition, a PCA is performed also on the coarser approximation coefficients matrix in the wavelet domain as well as on the final reconstructed matrix. By selecting conveniently the numbers of retained principal components, interesting simplified signals can be reconstructed.

References

Aminghafari, M.; Cheze, N.; Poggi, J-M. (2006), "Multivariate de-noising using wavelets and principal component analysis," Computational Statistics & Data Analysis, 50, pp. 2381-2398.

Bakshi, B. (1998), "Multiscale PCA with application to MSPC monitoring," AIChE J., 44, pp. 1596-1610.

See Also
wmulden


 Provide feedback about this page 

Previous page wmaxlev wmulden Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS