title: Normally distributed points within a square in matlab
body: <p>How can I create N normally distributed points within a N x N square with the mean at the centre (More points concentrated at the centre). I would appreciate an approach in which the coordinates of each points could be stored in a struct. I have tried the code below</p>
  
  <pre><code> for i=1:200
   S(i).x=randn*200;
   S(i).y=randn*200;
   plot(S(i).x,S(i).y,'.');
   axis([0 200 0 200]); 
   end
  </code></pre>
  
  <p>However, I observed I got negative values. Using a centre [mean] of (100,100) in a square, I want to store normally distributed points between 0-200 for a 200x200 square. Thanks</p>