diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2010-06-24 03:19:28 +0000 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2010-06-24 03:19:28 +0000 |
commit | 4503717f89973c9d2eba9512ed3d16e6a5027303 (patch) | |
tree | bc55be0e138520533955ff8421caf649fd3e0851 /psr/basis_transformation.m | |
parent | 3a44a78bbaade8362574d4a07bde9b7dd059cf98 (diff) | |
download | multi_mode_eit-4503717f89973c9d2eba9512ed3d16e6a5027303.tar.gz multi_mode_eit-4503717f89973c9d2eba9512ed3d16e6a5027303.zip |
change of the linear to circular to coinside with wikipedia
Diffstat (limited to 'psr/basis_transformation.m')
-rw-r--r-- | psr/basis_transformation.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psr/basis_transformation.m b/psr/basis_transformation.m index 82945fe..8b8eb04 100644 --- a/psr/basis_transformation.m +++ b/psr/basis_transformation.m @@ -6,7 +6,7 @@ function transformation_matrix = circ2lin() transformation_matrix = ... [ ... [ 1/sqrt(2), 1/sqrt(2), 0]; ... - [-1i/sqrt(2), 1i/sqrt(2), 0]; ... + [ 1i/sqrt(2),-1i/sqrt(2), 0]; ... [ 0, 0, 1] ... ]; endfunction @@ -17,8 +17,8 @@ endfunction function transformation_matrix = lin2circ() transformation_matrix = ... [ ... - [ 1/sqrt(2), 1i/sqrt(2), 0]; ... [ 1/sqrt(2), -1i/sqrt(2), 0]; ... + [ 1/sqrt(2), 1i/sqrt(2), 0]; ... [ 0, 0, 1] ... ]; endfunction |