getting error 'Too many output arguments.'while running [coeff,score,latent,tsquared,explained] = pca(X2);
显示 更早的评论
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)
rsnandi
2018-8-2
采纳的回答
更多回答(1 个)
Berkay TOPALOGLU
2020-8-25
0 个投票
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
----
类别
在 帮助中心 和 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!