156
edits
m (→False Nearest Neighbors: typo) |
m (→False Nearest Neighbors: added labels to plot) |
||
Line 20: | Line 20: | ||
[dim_hen, frac_hen] = false_nearest (hen(:,1)); | [dim_hen, frac_hen] = false_nearest (hen(:,1)); | ||
[dim_hen_noisy, frac_hen_noisy] = false_nearest (hen_noisy(:,1)); | [dim_hen_noisy, frac_hen_noisy] = false_nearest (hen_noisy(:,1)); | ||
plot (dim_ikd, frac_ikd, '-b*', 'markersize', 15,... | plot (dim_ikd, frac_ikd, '-b*;Ikeda;', 'markersize', 15,... | ||
dim_hen, frac_hen, '-r+', 'markersize', 15,... | dim_hen, frac_hen, '-r+;Henon;', 'markersize', 15,... | ||
dim_hen_noisy, frac_hen_noisy, '-gx', 'markersize', 15); | dim_hen_noisy, frac_hen_noisy, '-gx;Henon Noisy;', 'markersize', 15); | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
The {{Codeline|dim_*}} variables hold the dimension (so here 1:5), and {{Codeline|frac_*}} contain the fraction of false nearest neighbors. From this chart we can obtain the sufficient embedding dimension for each system. For a Henon Map {{Codeline|m = 2}} is sufficient, but for an Ikeda map it is better to use {{Codeline|m = 3}}. | The {{Codeline|dim_*}} variables hold the dimension (so here 1:5), and {{Codeline|frac_*}} contain the fraction of false nearest neighbors. From this chart we can obtain the sufficient embedding dimension for each system. For a Henon Map {{Codeline|m = 2}} is sufficient, but for an Ikeda map it is better to use {{Codeline|m = 3}}. |
edits