This code can provide you with how to calculate the propagating optical field by the Huygens–Fresnel principle from near-field to far-field. Moreover, I raise some common optical problems, such as a single slit and double slits, to simulate the propagating field and you can compare these results with your optical textbooks.
Code4_FieldPropagation_1D.m
Code4_FieldPropagation.pptx
Case 1: The intensity profile of the far-field diffraction with a single slit in the 1-dim.
Case 2: The intensity profiles vary from the near-field to the far-field by a single slit in the 1-dim.
Case 3: The double slits interference in the 1-dim.
back to Content