I recently discovered a bug in the False Nearest Neighbour-function fnn.m (rev. 5., which is part of the CRP-Toolbox. Obviously in ll. 149 and 154 the identifiers “t” (embedding delay) and “r” (neighbourhood criterion) are mixed up. A correct version might be:
Code: Select all
t = varargin{i_x(2)}; % line 149, 154 respectively
r = varargin{i_x(3)}; % line 150, 155 respectively
Best regards,
Martin