'전체 글'에 해당되는 글 1027건

  1. 2017.02.22 check whether have another matlab function somewhere on your path

 

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.

 

Posted by uniqueone
,