Look at the output of,
which -all pca
The first item should be something ending in \toolbox\stats\stats\pca.m
. My guess is that you have another pca.m
somewhere on your path.
http://stackoverflow.com/questions/19643569/too-many-input-arguments-even-with-varargin
Unfortunately I am getting a "Too many input arguments." error from performing this call:
[varargout{1:nargout}]=pca(varargin{1},'Algorithm','svd','Economy',fEconomy);
on the function that has signature as follows:
function [coeff, score, latent, tsquared, explained, mu] = pca(x,varargin)
I am calling princomp in this way:
[pc,score,latent,tsquare] = princomp(data);
Any idea of what might be the cause? (the bug appears in princomp.m of the stats package)
----------------------------------------------------------
Look at the output of,
which -all pca
The first item should be something ending in \toolbox\stats\stats\pca.m
. My guess is that you have another pca.m
somewhere on your path.
'Matlab ' 카테고리의 다른 글
matlab에서 SVM으로 ROC curve 그릴 때 필요한 score(posterior probability)를 구하는 방법 (0) | 2017.03.04 |
---|---|
Why do I receive the error "License Manager Error -9"? (0) | 2017.02.23 |
matlab svm papameter tuning (0) | 2017.02.18 |
save a figure to a TIFF image with resolution 300 dpi in MATLAB (0) | 2017.02.10 |
Is there a way to connect to Microsoft SQL Server database without needing the database toolbox? (0) | 2017.02.08 |