Programme for Discrete Gaussian Distribution

Discrete Gaussian Distribution \(D_{\Lambda,r}\):

Condition:

  1. Lattic \(\Lambda\)
  2. Scaling factor \(r\)
  3. Central Point \({\bf c}={\bf 0}\)

Matlab implement:

x=-25:25;
y=-25:25;
[xx,yy]=meshgrid(x,y);
z=sqrt((xx).2+(yy).2);
z=gaussmf(z,[r\sqrt(2) 0]);
stem3(x,y,z,'--*');

r=1

r=0.5

posted on 2020-01-09 12:16  Jiangad  阅读(169)  评论(1编辑  收藏  举报