title: How to convert PSF represented as a 2D graph into a kernal/convolution matrix?
body: <p>My point spread function (PSF) looks like a Sinc wave. How would I convert that into a convolution matrix/kernal similar to that found in the blind deconvolution example found on Mathworks?</p>
  
  <p><a href="http://uk.mathworks.com/help/images/examples/deblurring-images-using-the-blind-deconvolution-algorithm.html#zmw57dd0e129" rel="nofollow">http://uk.mathworks.com/help/images/examples/deblurring-images-using-the-blind-deconvolution-algorithm.html#zmw57dd0e129</a> (STEP 4)</p>
  
  <p>Please just use a sinc wave as I cannot upload the data points for my PSF.</p>
  
  <pre><code>x = -5:.01:5;
  plot(x,sinc(x))
  </code></pre>
  
  <p>Kind regards.</p>