wolffd@0: wolffd@0:
wolffd@0:wolffd@0: data = gmmsamp(mix, n) wolffd@0: [data, label] = gmmsamp(mix, n) wolffd@0:wolffd@0: wolffd@0: wolffd@0:
data = gsamp(mix, n)
generates a sample of size n
from a
wolffd@0: Gaussian mixture distribution defined by the mix
data
wolffd@0: structure. The matrix x
has n
wolffd@0: rows in which each row represents a mix.nin
-dimensional sample vector.
wolffd@0:
wolffd@0:
[data, label] = gmmsamp(mix, n)
also returns a column vector of
wolffd@0: classes (as an index 1..N) label
.
wolffd@0:
wolffd@0:
gsamp
, gmm
Copyright (c) Ian T Nabney (1996-9) wolffd@0: wolffd@0: wolffd@0: wolffd@0: