How to apply Principal Component Analysis in Matlab?

Dear all, For normal [2] dimension matrices we use 'princomp' command in matlab. But what command we should use for multispectral images?
Let me explain it in different way: I used ENVI to calculate PCA components for all 3 bands of my multispectral image.
PCA1 PC2 PC3
  1. Red 0.4395 -0.4064 0.1147
  2. NIR 1 0.5945 0.5129 0.2489
  3. Blue 0.2460 -0.2744 0.2408
1)After applying Procrustes method, how can i get the coefficients(eigen vectors) like above in matlab? 2) How can I apply the Principal Component Analysis in Matlab for multispectral images?
I hope someone will answer my questions!
Regards,

Answers (0)

Categories

Asked:

on 21 Sep 2013

Community Treasure Hunt

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

Start Hunting!