Fraunhofer diffraction and Fourier Transform

Click For Summary
The discussion focuses on comparing an experimentally obtained single slit diffraction pattern with a theoretical result derived from a Discrete Fourier Transform (DFT) in MATLAB. The user has written MATLAB code to simulate the diffraction pattern based on the known slit width of 0.000134 m, plotting the power spectrum against spatial frequency. While the qualitative results appear similar, the user questions how to accurately compare the width of the central maxima between the experimental and MATLAB results, noting the absence of the light wavelength in their calculations. Suggestions are sought for modifying the code to achieve a more accurate comparison. The conversation emphasizes the importance of incorporating all relevant parameters, such as wavelength, for precise analysis.
bcjochim07
Messages
366
Reaction score
0

Homework Statement


In lab, I obtained a single slit diffraction pattern and recorded an image of it. The slit width is known to be 0.000134 m. We are supposed to compare our experimentally-obtained diffraction pattern to the result of taking a Discrete Fourier Transform of the aperture in MATLAB.


Homework Equations





The Attempt at a Solution



Here is my MATLAB code:

E=[-100000:25:100000];
F=zeros(1,8001);
for n=1:8001;
F(n)=0.000134*(sin(pi*0.000134*E(n)))/(pi*0.000134*E(n));
end;
plot(E,abs(F))

Here, E corresponds to spatial frequency (m^-1). I'm plotting the power spectrum as a function of E. Qualitatively, the MATLAB result looks very similar to the experimental result, as one would expect. But can I compare the width of the central maxima? At first, I thought that maybe taking the reciprocal of the width of the central max. of the MATLAB result would yield the same width as I saw experimentally. But then again, I'm not taking into account the wavelength of the light in the code. How could I modify my code to give an accurate comparison?
 
Physics news on Phys.org
I guess I'm technically not taking the Discrete Fourier transform but just plotting what I know the Fourier transform should be based on F.T. pairs.
 
Any suggestions?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K