Fringe Visibility Homework: Obtain Intensity Values in MATLAB

  • Thread starter Thread starter MRL
  • Start date Start date
  • Tags Tags
    Fringe
MRL
Messages
7
Reaction score
0

Homework Statement


Hi. I'm attempting to find the fringe visibility of an interference pattern from a diffraction grating, using MATLAB. I have an image of this pattern, and have used the following code so far in MATLAB:
Code:
myimage = imread('IMG_0166.JPG')
image = rgb2gray(myimage);
imshow(image)
I'm struggling to find a way in which i can go about obtaining the intensity values from this image.

Homework Equations


The fringe visibility is given by:
Visibility = (Imax-Imin)/(Imax+Imin)

The Attempt at a Solution


Above.

Any help would be appreciated,

Thanks.
 
Last edited:
Physics news on Phys.org
Is anyone able to help please?
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top