getting error 'Too many output arguments.'while running [coeff,score,latent,tsquared,explained] = pca(X2);
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 2 de Ag. de 2018
Editada: Walter Roberson
el 2 de Ag. de 2018
Which MATLAB release are you using? What is class(X2) ? What is size(X2) ? What shows up for
which pca(X2)
rsnandi
el 2 de Ag. de 2018
Respuesta aceptada
Más respuestas (1)
Berkay TOPALOGLU
el 25 de Ag. de 2020
0 votos
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
----
Categorías
Más información sobre Dimensionality Reduction and Feature Extraction en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!