about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/nethelp3.3/gmmsamp.htm
blob: 30f6821c1619eba8460f820dd86e67595decbcde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<head>
<title>
Netlab Reference Manual gmmsamp
</title>
</head>
<body>
<H1> gmmsamp
</H1>
<h2>
Purpose
</h2>
Sample from a Gaussian mixture distribution.

<p><h2>
Synopsis
</h2>
<PRE>
data = gmmsamp(mix, n)
[data, label] = gmmsamp(mix, n)
</PRE>


<p><h2>
Description
</h2>

<p><CODE>data = gsamp(mix, n)</CODE> generates a sample of size <CODE>n</CODE> from a
Gaussian mixture distribution defined by the <CODE>mix</CODE> data
structure. The matrix <CODE>x</CODE> has <CODE>n</CODE>
rows in which each row represents a <CODE>mix.nin</CODE>-dimensional sample vector.

<p><CODE>[data, label] = gmmsamp(mix, n)</CODE> also returns a column vector of
classes (as an index 1..N) <CODE>label</CODE>.

<p><h2>
See Also
</h2>
<CODE><a href="gsamp.htm">gsamp</a></CODE>, <CODE><a href="gmm.htm">gmm</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)


</body>
</html>