個人檔案王益的空间 Wang Yi's MSN Spac...相片部落格清單更多 ![]() | 說明 |
|
23 February MATLAB code for Sampling Gaussian distributionfunction M = sample_gaussian(mu, Sigma, N) mu = mu(:); n=length(mu); [U,D,V] = svd(Sigma); M = randn(n,N); M = (U*sqrt(D))*M + mu*ones(1,N); M = M'; |
|
|