%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% 	  MODULE: createGaussData.m
%%
%%      FUNCTION: create normally distributed data points
%%
%%     PARAMETER: d=createGaussData(mu,vars,numPoints)
%%	      IN: mu:        column vector with means
%%		  vars:      variance of each dimension (column vector)
%%		  numPoints: number of data points to be generated
%%           OUT:  d:        data, every column is a data point
%%
%% last modified: 10/15/1997
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function d=createGaussData(mu,vars,numPoints)
numDim=length(mu);
d=mu*ones(1,numPoints)+randn(numDim,numPoints).*(sqrt(vars)*ones(1,numPoints));
