From 4503717f89973c9d2eba9512ed3d16e6a5027303 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Thu, 24 Jun 2010 03:19:28 +0000 Subject: change of the linear to circular to coinside with wikipedia --- psr/basis_transformation.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'psr') 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 -- cgit v1.2.3