Re: PCA Matlab
- From: "Greg Heath" <heath@xxxxxxxxxxxxxxxx>
- Date: 5 Nov 2005 17:16:06 -0800
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
.
- References:
- PCA Matlab
- From: Gurtej Singh
- PCA Matlab
- Prev by Date: Re: PCA Matlab
- Next by Date: How to write boundary conditions in matlab?
- Previous by thread: Re: PCA Matlab
- Next by thread: Duplicate rows
- Index(es):
Relevant Pages
|