Principle Component Analysis - Problem in Example

Hi,
I've been learning about principle component analysis recently in order to reduce data for a fault classification problem. I'v referred to the worked example here to try and aid my understanding of it:
However, when I attempt to use the pca function with the data matrix and the weights as input, an error is thrown saying that it does not accept the weights, w, as an input (error: too many input arguments). I may be missing something obvious here, but has anyone got any ideas to what the problem is?
Thanks
Rory

 채택된 답변

Shashank Prasanna
Shashank Prasanna 2013년 3월 4일

0 개 추천

Hi Rory, What version of MATLAB are you using? PCA (with supported for wighted and missing values) was introduced only in R2012b:
You may try the following to confirm that you have the right PCA:
>> which -all pca

댓글 수: 3

Rory
Rory 2013년 3월 4일
Hi Shashank,
Thanks for replying. I realised just before your answer that this is probably a new feature for the PCA function on R2012b. I'm running R2011b. Is it possible to update the toolbox?
Rory
The only way to update the toolbox is to also update MATLAB.
Rory, you will have to update your MATLAB. You won't be able to just update the toolbox. You may want to contact installation support if you have SMS.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File 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