summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demo_diffraction_on_a_disk.m2
-rw-r--r--gauss_diffraction_on_aperture.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/demo_diffraction_on_a_disk.m b/demo_diffraction_on_a_disk.m
index a066da6..3eb511c 100644
--- a/demo_diffraction_on_a_disk.m
+++ b/demo_diffraction_on_a_disk.m
@@ -64,4 +64,4 @@ imwrite(img_t/max(img_t(:)),'diffracted_image.png')
show_diffraction(img_source, xpos_s, ypos_s, img_t, xpos_t, ypos_t);
% radial slice of the target image
-figure(3); plot( xpos_t, abs( img_t(1,:) ) )
+figure(3); plot( xpos_t, abs( img_t(Ny_t/2,:) ) )
diff --git a/gauss_diffraction_on_aperture.m b/gauss_diffraction_on_aperture.m
index bd962f6..479c6dc 100644
--- a/gauss_diffraction_on_aperture.m
+++ b/gauss_diffraction_on_aperture.m
@@ -24,7 +24,7 @@ n=50;
domain(:,:,1)=rmesh; domain(:,:,2)=thetamesh;
w=0.0014*3/2;
-R=1;
+R=.3;
lambda=0.795e-6;
q=q_(w,R,lambda);