n2 = mdndist2(mixparams, t)
n2 = mdndist2(mixparams, t) takes takes the centres of the Gaussian
contained in
mixparams and the target data matrix, t, and computes the squared
Euclidean distance between them. If t has m rows and n
columns, then the centres field in
the mixparams structure should have m rows and
n*mixparams.ncentres columns: the centres in each row relate to
the corresponding row in t.
The result has m rows and mixparams.ncentres columns.
The i, jth entry is the
squared distance from the ith row of x to the jth
centre in the ith row of mixparams.centres.
mdnfwd, mdnprobCopyright (c) Ian T Nabney (1996-9)
David J Evans (1998)