Fraunhofer diffraction simulation in Matlab

  • #1
riharenda009
3
0
Hello, below is the screenshot from the book INTRODUCTION TO MODERN DIGITAL HOLOGRAPHY With MATLAB (TING-CHUNG POON, JUNG-PING LIU). This book is free to download. There is a script for Fraunhofer diffraction pattern and equation 1.40 is Fraunhofer diffraction formula in terms of Fourier transform.
matlabfd.png

I don't understand commands C=C*lambda*z/M/delta*1000 and R=R*lambda*z/M/delta*1000;. They are probably scaling coordinates in image plane, but I don't know how. Can anybody explain it? Thank you very much. Here are the results of the simulation. Coordinates are in milimeters.
m1.png

m2.png
 

Attachments

  • matlabfd.png
    matlabfd.png
    22.2 KB · Views: 1,047
  • m1.png
    m1.png
    9.1 KB · Views: 1,164
  • m2.png
    m2.png
    14.7 KB · Views: 986
Physics news on Phys.org
  • #2
if you comment out the C and R at the bottom and re plot the data, you'll find that the x-y coordinates vary between 1 and 512, they get the image back into reasonable coordinates for an image plot.
 

Similar threads

Replies
7
Views
12K
Replies
0
Views
2K
Back
Top