getting error 'Too many output arguments.'while running [coeff,score,latent,tsquared,explained] = pca(X2);
    14 ビュー (過去 30 日間)
  
       古いコメントを表示
    
getting error 'Too many output arguments.'while running [coeff,score,latent,tsquared,explained] = pca(X2); WHY so ? whats the solution. I want to calculate cumulative variance with respect to PCs.
2 件のコメント
  Walter Roberson
      
      
 2018 年 8 月 2 日
				
      編集済み: Walter Roberson
      
      
 2018 年 8 月 2 日
  
			Which MATLAB release are you using? What is class(X2) ? What is size(X2) ? What shows up for
which pca(X2)
採用された回答
  Brent F
      
 2021 年 6 月 24 日
        Make sure you don't have a pca.m file in your path, such as prtools, that is overriding the built-in pca function.
0 件のコメント
その他の回答 (1 件)
  Berkay TOPALOGLU
 2020 年 8 月 25 日
        i am getting the same error. How did you solve it? 
I tried matlab's own instance and still get the same error.
---
load hald
[coeff,score,latent,tsquared] = pca(ingredients,'NumComponents',2);
------
Error using pca
Too many input arguments
----
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



