소스 검색

calibration: A2B was broken for tetrahedral mic, probably due to tests when starting work on the Octathingy, sigh

Fernando Pablo Lopez-Lezcano 8 년 전
부모
커밋
b24a6aac9d
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      calibration/src/A2B_matrix.m

+ 1 - 1
calibration/src/A2B_matrix.m

@@ -55,7 +55,7 @@ function [A2B pv max_err] = A2B_matrix(Y, X, v_z_factor)
     end
   else
     %% W X Y Z
-    A2B = [1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 1] / pv;
+    A2B = ([1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 1] \ pv)';
   end
 end