circstat / circstat-matlab

Matlab Circular Statistics Toolbox
79 stars 41 forks source link

Unrecognized function or variable 'circ_kappa' #30

Open Learningtogo opened 10 months ago

Learningtogo commented 10 months ago

Hi there, any insights/feedback on why these errors pop up while running MGRP2IDX? Thank you!

These the code: multigroup = (iscell(group) && size(group,1)==1) || ... (isnumeric(group) && ~isvector(group) && ~isempty(group))||... (isdatetime(group) && ~isvector(group) && ~isempty(group))||... (isduration(group) && ~isvector(group) && ~isempty(group)); if (~multigroup) [ogroup,gname] = statslib.internal.grp2idx(group); maxgroup = length(gname); glabel = gname;

These the errors: Error in statslib.internal.mgrp2idx [ogroup,gname] = statslib.internal.grp2idx(group);

Error in internal.stats.mgrp2idx [varargout{1:nargout}] = statslib.internal.mgrp2idx(group,varargin{:});

Error in mgrp2idx [varargout{1:max(1,nargout)}] = internal.stats.mgrp2idx(varargin{:});

Error in gscatter [g,gn,ignore1,ignore2,maxgrp] = mgrp2idx(g,size(x,1),','); %#ok