From 6521fed02d68df8786977f67c43fe47c5d1b29b9 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Fri, 27 Sep 2013 10:04:48 -0400 Subject: added abcd matrix decomposition to its coefficients --- abcd2ABCD.m | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 abcd2ABCD.m (limited to 'abcd2ABCD.m') diff --git a/abcd2ABCD.m b/abcd2ABCD.m new file mode 100644 index 0000000..74faa2c --- /dev/null +++ b/abcd2ABCD.m @@ -0,0 +1,13 @@ +function [A, B, C, D] = abcd2ABCD( abcd_matrix ) +% decompose abcd matrix to its coefficients +% | A B | +% abcd = | | +% | C D | + +A = abcd_matrix(1,1); +B = abcd_matrix(1,2); +C = abcd_matrix(2,1); +D = abcd_matrix(2,2); + +end + -- cgit v1.2.3