view toolboxes/FullBNT-1.0.7/nethelp3.3/gsamp.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
line wrap: on
line source
<html>
<head>
<title>
Netlab Reference Manual gsamp
</title>
</head>
<body>
<H1> gsamp
</H1>
<h2>
Purpose
</h2>
Sample from a Gaussian distribution.

<p><h2>
Synopsis
</h2>
<PRE>
x = gsamp(mu, covar, nsamp)
</PRE>


<p><h2>
Description
</h2>

<p><CODE>x = gsamp(mu, covar, nsamp)</CODE> generates a sample of size <CODE>nsamp</CODE>
from a <CODE>d</CODE>-dimensional Gaussian distribution. The Gaussian density
has mean vector <CODE>mu</CODE> and covariance matrix <CODE>covar</CODE>, and the
matrix <CODE>x</CODE> has <CODE>nsamp</CODE> rows in which each row represents a
<CODE>d</CODE>-dimensional sample vector.  

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


</body>
</html>