Azzera filtri
Azzera filtri

How to reduce the dimensions of a row vector?

2 visualizzazioni (ultimi 30 giorni)
Yashaswini MU
Yashaswini MU il 29 Feb 2016
Risposto: John D'Errico il 2 Mar 2016
Hi, I have a row vector of dimensions 1*2500. I want to extract features from this vector and reduce the dimensions of the vector using PCA. Can someone please give me the matlab code for it?
Thank U.

Risposte (2)

Roger Wohlwend
Roger Wohlwend il 2 Mar 2016
You cannot apply PCA on a vector. You need a matrix for that.

John D'Errico
John D'Errico il 2 Mar 2016
PCA is meaningless as applied to a single vector.
So, you need to either learn what PCA is (read one of books on the subject) or go back to the person who told you to do this, and ask them what they really meant for you to do.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by