From ce1c0e7df3c2a3808d3edac52c2a823ba9e0d6ea Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Fri, 15 Jan 2010 20:52:39 +0000 Subject: explicit lin2circ matrix --- basis_transformation.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3