How to reduce the dimensions of a row vector?

1 回表示 (過去 30 日間)
Yashaswini MU
Yashaswini MU 2016 年 2 月 29 日
回答済み: John D'Errico 2016 年 3 月 2 日
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.

回答 (2 件)

Roger Wohlwend
Roger Wohlwend 2016 年 3 月 2 日
You cannot apply PCA on a vector. You need a matrix for that.

John D'Errico
John D'Errico 2016 年 3 月 2 日
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.

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by