Generate random samples from 2-d Gaussian
7 次查看(过去 30 天)
显示 更早的评论
Hi every one. I'm new in MATLAB and i have this question and dont know how to solve it. i would be thankful for help.
Generate 500 random samples from a 2 dimensional Gaussian with an isotropic Σ using matlab command randn(). Transform the data as above with , b=[0.5 ; 1] and A =[-5 5 ; 1 1] plot the original and transformed points. y=Ax+b
thanks.
0 个评论
回答(1 个)
Sara Hafeez
2016-3-7
This is very very simple just use the rand function and search the help you will get it
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Random Number Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!