Daniel@0: Daniel@0: Daniel@0: Daniel@0: Netlab Reference Manual mdndist2 Daniel@0: Daniel@0: Daniel@0: Daniel@0:

mdndist2 Daniel@0:

Daniel@0:

Daniel@0: Purpose Daniel@0:

Daniel@0: Calculates squared distance between centres of Gaussian kernels and data Daniel@0: Daniel@0:

Daniel@0: Synopsis Daniel@0:

Daniel@0:
Daniel@0: n2 = mdndist2(mixparams, t)
Daniel@0: 
Daniel@0: Daniel@0: Daniel@0:

Daniel@0: Description Daniel@0:

Daniel@0: n2 = mdndist2(mixparams, t) takes takes the centres of the Gaussian Daniel@0: contained in Daniel@0: mixparams and the target data matrix, t, and computes the squared Daniel@0: Euclidean distance between them. If t has m rows and n Daniel@0: columns, then the centres field in Daniel@0: the mixparams structure should have m rows and Daniel@0: n*mixparams.ncentres columns: the centres in each row relate to Daniel@0: the corresponding row in t. Daniel@0: The result has m rows and mixparams.ncentres columns. Daniel@0: The i, jth entry is the Daniel@0: squared distance from the ith row of x to the jth Daniel@0: centre in the ith row of mixparams.centres. Daniel@0: Daniel@0:

Daniel@0: See Also Daniel@0:

Daniel@0: mdnfwd, mdnprob
Daniel@0: Pages: Daniel@0: Index Daniel@0:
Daniel@0:

Copyright (c) Ian T Nabney (1996-9) Daniel@0:

David J Evans (1998) Daniel@0: Daniel@0: Daniel@0: