PCA generated initial matrix in gaussian and ellipse?

조회 수: 1 (최근 30일)
Tanya
Tanya 2014년 2월 18일
I have to do PCA in Matlab for object recognition.
For the input matrix / data, it should be fulfill the condition (to be distributed in Normal Gaussian) and in elipse shape (when I plot it).
For now, I generate matrix randomly :
[a,InputMatrix] = sort(rand(100,20)); %Rows=100 Columns=20
But if I perform PCA in that Random Matrix (InputMatrix), the shape of eigen vectoor e1 and e2 that I get for the PCA result will be wrong (when I plot).
I think, I have to do rotation, scalling and other things to do it..
But I dont understand..
Could someone please help me to generated random matrix with Normal Gaussian and in ellipse shape?? Please.. help me T_T

답변 (0개)

카테고리

Help CenterFile Exchange에서 Dimensionality 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