diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-09-27 10:04:48 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-09-27 10:04:48 -0400 |
commit | 6521fed02d68df8786977f67c43fe47c5d1b29b9 (patch) | |
tree | c227448fe4f95f893bae2033f6878c25f4fcd34c /abcd2ABCD.m | |
parent | 83c61051f3814f1c53d731f062643338e946d2b7 (diff) | |
download | mode_match-6521fed02d68df8786977f67c43fe47c5d1b29b9.tar.gz mode_match-6521fed02d68df8786977f67c43fe47c5d1b29b9.zip |
added abcd matrix decomposition to its coefficients
Diffstat (limited to 'abcd2ABCD.m')
-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 + |