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 --- abcd_lens.m | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 abcd_lens.m (limited to 'abcd_lens.m') diff --git a/abcd_lens.m b/abcd_lens.m new file mode 100644 index 0000000..55c23bd --- /dev/null +++ b/abcd_lens.m @@ -0,0 +1,6 @@ +function lens_abcd =abcd_lens(focal_distance) +% abcd matrix of the lens with given focal length + lens_abcd = [1, 0; -1/focal_distance, 1]; +endfunction + + -- cgit v1.2.3