summaryrefslogtreecommitdiff
path: root/axial/elems.m
diff options
context:
space:
mode:
Diffstat (limited to 'axial/elems.m')
-rw-r--r--axial/elems.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/axial/elems.m b/axial/elems.m
new file mode 100644
index 0000000..3de81ef
--- /dev/null
+++ b/axial/elems.m
@@ -0,0 +1,12 @@
+%----------------------------------------------------------------
+% Returns the elements of the ABCD matrix supplied.
+%
+% SYNTAX: [A,B,C,D]=elems(abcd);
+%----------------------------------------------------------------
+
+function [A,B,C,D]=elems(abcd)
+
+A=abcd(1,1);
+B=abcd(1,2);
+C=abcd(2,1);
+D=abcd(2,2); \ No newline at end of file