diff options
-rw-r--r-- | basis_transformation.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/basis_transformation.m b/basis_transformation.m index 96ad775..1bcf676 100644 --- a/basis_transformation.m +++ b/basis_transformation.m @@ -10,7 +10,11 @@ circ2lin= [ ... % matrix of linear to circular transformation % [r, l, z]' = lin2circ * [x, y, z]' -lin2circ=inverse(circ2lin); +lin2circ= [ + [ 1/sqrt(2), 1i/sqrt(2), 0]; ... + [ 1/sqrt(2), -1i/sqrt(2), 0]; ... + [ 0, 0, 1] ... + ]; % linear basis rotation % x axis untouched |