diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-04-13 23:50:27 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-04-13 23:50:27 -0400 |
commit | ad8f869703ac20e83084714fd4436a3faf8f0eba (patch) | |
tree | 249737b87786c4cd32dcd5378618eeeab4c65262 /abcd.m | |
parent | 9d50df730d0ecd7c13d5c1a35bcca91f3a60a3f8 (diff) | |
download | mode_match-ad8f869703ac20e83084714fd4436a3faf8f0eba.tar.gz mode_match-ad8f869703ac20e83084714fd4436a3faf8f0eba.zip |
spell check
Ignore-this: 38231e065a8cf2cc033e1c5ef467c111
darcs-hash:20110414035027-067c0-4e9b0379e22460307836afe0f83bfed58107440c
Diffstat (limited to 'abcd.m')
-rw-r--r-- | abcd.m | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |