diff options
-rw-r--r-- | abcd2ABCD.m | 13 |
1 files changed, 13 insertions, 0 deletions
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 + |