From ad8f869703ac20e83084714fd4436a3faf8f0eba Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 13 Apr 2011 23:50:27 -0400 Subject: spell check Ignore-this: 38231e065a8cf2cc033e1c5ef467c111 darcs-hash:20110414035027-067c0-4e9b0379e22460307836afe0f83bfed58107440c --- abcd.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abcd.m b/abcd.m index 0d9ceaa..da68fc9 100644 --- a/abcd.m +++ b/abcd.m @@ -6,13 +6,13 @@ function lens_abcd =abcd_lens(focal_distance) lens_abcd = [1, 0; -1/focal_distance, 1]; endfunction -function qnew=q_afteer_element(q_old,abcd) +function qnew=q_after_element(q_old,abcd) qnew=(q_old*abcd(1,1)+abcd(1,2))/(q_old*abcd(2,1)+abcd(2,2)); endfunction function optics = arrange_optics_along_x(optics_unsorted) -% arrange optics in proper order so it x position increases with number +% arrange optics in proper order so its x position increases with consequent index N=length(optics_unsorted); % assign x positions -- cgit v1.2.3