diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-04-14 09:49:14 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-04-14 09:49:14 -0400 |
commit | bb84d84867c98e4aabc2347d5679274cd1726f59 (patch) | |
tree | 54f08d3ed74efa59ecd0c092fcafdb050087fc7c | |
parent | 9ab48ca4f9a875bc0b6e687190a3103f309c7353 (diff) | |
download | mode_match-bb84d84867c98e4aabc2347d5679274cd1726f59.tar.gz mode_match-bb84d84867c98e4aabc2347d5679274cd1726f59.zip |
removed functions which koined into one
Ignore-this: 4b7e57e0970990acac4e5c7ad818d6ae
darcs-hash:20110414134914-067c0-6b4daa366bdda162df3598f5bf33fa541fdf6876
-rw-r--r-- | abcd.m | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -31,21 +31,16 @@ end -function waste =q2waste(q, lambda) - waste=sqrt (-lambda./pi./imag(1./q)); -endfunction - -function radius =q2radius(q, lambda) - radius=(1./real(1./q)); -endfunction function [waste,radius] =q2wr(q, lambda) +% convert Gaussian beam q parameter to waste and radius waste=sqrt (-lambda./pi./imag(1./q)); radius=(1./real(1./q)); endfunction function q=waste_r2q(waste,R,lambda) +% convert Gaussian beam waste and radius to q parameter q=1./(1./R-1i.*lambda./pi./(waste.^2)); endfunction |