 embedding dimension (Figure 2b in the article)</h2><pre class="codeinput">figure()
[fnnPercent, embeddingDimension] = mdFnn(data, round(tau));
set(gca,<span class="string">'FontSize'</span>,fontSize,<span class="string">'fontWeight'</span>,<span class="string">'normal'</span>)
print(<span class="string">'Figure2b'</span>,<span class="string">'-dpng'</span>)
</pre><img vspace="5" hspace="5" src="Figure2_02.png" alt=""> <h2 id="4">Alternative method to find time delay using first local minimum criterion</h2>