summaryrefslogtreecommitdiff
path: root/basis_transformation.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2010-01-15 20:52:39 +0000
committerEugeniy Mikhailov <evgmik@gmail.com>2010-01-15 20:52:39 +0000
commitce1c0e7df3c2a3808d3edac52c2a823ba9e0d6ea (patch)
treee90fc7ebbb78696d717b13d5bf55de6ea7c87fae /basis_transformation.m
parent45be6d75a9e27a98a50530477c6c5fb9e2c62ea8 (diff)
downloadmulti_mode_eit-ce1c0e7df3c2a3808d3edac52c2a823ba9e0d6ea.tar.gz
multi_mode_eit-ce1c0e7df3c2a3808d3edac52c2a823ba9e0d6ea.zip
explicit lin2circ matrix
Diffstat (limited to 'basis_transformation.m')
-rw-r--r--basis_transformation.m6
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