How can I use principal component analysis(PCA) function from toolbox?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, I have a question about using matlab.
When I typed the "pca" word on your Support tap.
The path says "Statistics oand Machine Learning Toolbox > Dimensionality Reduction"
I tried to find that path but I couldn't. Where is it? I don't know how to find it.
I'm the beginner to using matlab. So, I would like to say it.
When you give me the answer, please tell it in detail. It will be good to the answer with some image if you can.
Sincerely,
Yongjin, Kim
0 Commenti
Risposte (2)
Walter Roberson
il 31 Dic 2015
The function is part of the Statistics and Machine Learning toolbox. If you have that toolbox licensed and installed (for example as part of a Student Version license) then you can just invoke it by name, pca() such as
X = rand(5,8);
pca(X)
0 Commenti
Image Analyst
il 31 Dic 2015
Type ver on the command line to see if you have that toolbox, or else run this code to check your license.
% Check that user has the Statistics and Machine Learning Toolbox installed.
hasToolbox = license('test','Statistics_toolbox')
if ~hasToolbox
% User does not have the toolbox installed.
message = sprintf('Sorry, but you do not seem to have\nthe Statistics and Machine Learning Toolbox.');
uiwait(warndlg(message));
else
% User does not have the toolbox installed.
message = sprintf('Congratulations, you have\nthe Statistics and Machine Learning Toolbox.');
uiwait(helpdlg(message));
end
0 Commenti
Vedere anche
Categorie
Scopri di più su Dimensionality Reduction and Feature Extraction in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!