summaryrefslogtreecommitdiff
path: root/demo_diffraction_on_a_disk.m
diff options
context:
space:
mode:
Diffstat (limited to 'demo_diffraction_on_a_disk.m')
-rw-r--r--demo_diffraction_on_a_disk.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo_diffraction_on_a_disk.m b/demo_diffraction_on_a_disk.m
index 13f1ebe..7f5ecc4 100644
--- a/demo_diffraction_on_a_disk.m
+++ b/demo_diffraction_on_a_disk.m
@@ -67,4 +67,4 @@ imwrite(img_t_intensiry, fname);
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(Ny_t/2,:) ) )
+figure(3); plot( xpos_t, abs( img_t( ceil(Ny_t/2),:) ) )