Re: PCA Matlab



Gurtej Singh wrote:
> Hi,
> does anyone know how to perform PCA for 2D data if number of rows
> are much more than number of columns.
>
> say 1000x200 and I want to make it close to 10x200

If you are being stymied by the function PREPCA in the NN Toolbox, just

comment or remove the statement:

if R > Q, error('Input matrix has more rows than columns.'); end

Also, you have to specify what the minimum fraction of the total data
variance that each PC must "explain" . That determines how many
PCs you retain.

Hope this helps.

Greg

.



Relevant Pages