Principle Component Analysis - Problem in Example

1 回表示 (過去 30 日間)
Rory
Rory 2013 年 3 月 4 日
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 日
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 件のコメント
Walter Roberson
Walter Roberson 2013 年 3 月 4 日
The only way to update the toolbox is to also update MATLAB.
Shashank Prasanna
Shashank Prasanna 2013 年 3 月 4 日
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 件)

カテゴリ

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