From 48c490b71eadf20187c93c1541dda3e40843dcce Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Thu, 14 Apr 2011 10:01:51 -0400 Subject: functions from abcd.m now in separate files Ignore-this: 33d046a6087834ae6c896966261af8e3 darcs-hash:20110414140151-067c0-7ee6687ce86608989ad7b9b2b1db276c7c11dbc2 --- wr2q.m | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 wr2q.m (limited to 'wr2q.m') diff --git a/wr2q.m b/wr2q.m new file mode 100644 index 0000000..50b2ad7 --- /dev/null +++ b/wr2q.m @@ -0,0 +1,5 @@ +function q=wr2q(waste,R,lambda) +% convert Gaussian beam waste and radius to q parameter + q=1./(1./R-1i.*lambda./pi./(waste.^2)); +endfunction + -- cgit v1.2.3