wolffd@0: wolffd@0:
wolffd@0:wolffd@0: x = gsamp(mu, covar, nsamp) wolffd@0:wolffd@0: wolffd@0: wolffd@0:
x = gsamp(mu, covar, nsamp)
generates a sample of size nsamp
wolffd@0: from a d
-dimensional Gaussian distribution. The Gaussian density
wolffd@0: has mean vector mu
and covariance matrix covar
, and the
wolffd@0: matrix x
has nsamp
rows in which each row represents a
wolffd@0: d
-dimensional sample vector.
wolffd@0:
wolffd@0:
gauss
, demgauss
Copyright (c) Ian T Nabney (1996-9) wolffd@0: wolffd@0: wolffd@0: wolffd@0: