randgen2
代码说明:
randgen(mu,mu1,mu2,cov1,cov2,cov3) = Random generation of Gaussian Samples in d-dimensions where d = 2 mu, mu1, mu2 = (x,y) coordinates(means) that the gaussian samples are centered around cov1, cov2, cov3 are the covariance matrices and will vary changing the shape of the distribution, example: cov = sigma^2*Identity Matrix, where sigma^2 = a scalar N = the number of gaussian samples used are provided as user input, A test set of N/2 and a training set of N/2 gaussian samples is also generated Output is directed to the command window and a plot of the distributions are generated
下载说明:请别用迅雷下载,失败请重下,重下不扣分!