⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dist2.htm

📁 模式识别的主要工具集合
💻 HTM
字号:
<html><head><title>Netlab Reference Manual dist2</title></head><body><H1> dist2</H1><h2>Purpose</h2>Calculates squared distance between two sets of points.<p><h2>Synopsis</h2><PRE>d = dist2(x, c)</PRE><p><h2>Description</h2><CODE>d = dist2(x, c)</CODE> takes two matrices of vectors and calculates thesquared Euclidean distance between them.  Both matrices must be of thesame column dimension.  If <CODE>x</CODE> has <CODE>m</CODE> rows and <CODE>n</CODE> columns, and<CODE>c</CODE> has <CODE>l</CODE> rows and <CODE>n</CODE> columns, then the result has<CODE>m</CODE> rows and <CODE>l</CODE> columns.  The <CODE>i, j</CODE>th entry is the squared distance from the <CODE>i</CODE>th row of <CODE>x</CODE> to the <CODE>j</CODE>throw of <CODE>c</CODE>.<p><h2>Example</h2>The following code is used in <CODE>rbffwd</CODE> to calculate the activation ofa thin plate spline function.<PRE>n2 = dist2(x, c);z = log(n2.^(n2.^2));</PRE><p><h2>See Also</h2><CODE><a href="gmmactiv.htm">gmmactiv</a></CODE>, <CODE><a href="kmeans.htm">kmeans</a></CODE>, <CODE><a href="rbffwd.htm">rbffwd</a></CODE><hr><b>Pages:</b><a href="index.htm">Index</a><hr><p>Copyright (c) Ian T Nabney (1996-9)</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -