??? Undefined function or method 'princomp' for input arguments of type 'double'.
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I would like to implement a PCA on a matrix (m*p) with p<m of double.
Statistics toolbox is installed and licensed. When I use the princomp function, Matlab shows me this :
??? Undefined function or method 'princomp' for input arguments of type 'double'.
How can I compute properly this function ?
Thanks for any help !
0 Kommentare
Antworten (1)
Chirag Gupta
am 20 Apr. 2011
Try: which princomp
This should print something to the effect of C:\Program Files\MATLAB\R2010b\toolbox\stats\stats\princomp.m if Stats has been installed properly.
If you do not get this, try rehash toolboxcache
before using the command. (This should rehash the toolbox functions and now which princomp should show you the correct file)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!