? 2d Gaussian noise in MatLab

看板Programming作者時間18年前 (2006/08/10 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/6 (看更多)
MatLab built-in function rand() gives uniform dist random numbers. x = rand(10); xgauss = exp( -0.5*( ( x-mu )./std ).^2 )/sqrt(2*pi*std); The above gives 1D Gaussian noise. But now I'd like to add Gaussian noise to a 2D picture. How do I generate 2D Gaussian noise then? Thanks, by Cheng Cosine Aug/09/2k6 NC -- ┌─────KKCITY─────┐ ◢╱ 只要你通過身份認證 ~ ◥█ bbs.kkcity.com.tw 免經驗、五人連署即開班系板 └──From:152.16.233.74 ──┘ ◥╲ 趕快為班上設個秘密基地吧! --
文章代碼(AID): #14sYBc00 (Programming)
文章代碼(AID): #14sYBc00 (Programming)