User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cs:hydrophones:pinger_bearing:start [2017/10/07 00:37]
Brian Moore [Generalized Solution]
cs:hydrophones:pinger_bearing:start [2017/10/07 14:53]
Brian Moore [Generalized Derivation]
Line 150: Line 150:
 $$ $$
  
-Recall ​that Matrix multiplication ​consists of systematically ​taking dot products.+Therefore 
 + 
 +$$  
 +\cos{\theta} = d_x/x 
 +$$ 
 + 
 +This trend continues for the other two vectors: 
 + 
 +$$ 
 +(0,y,0) \cdot \hat{P} = |y|\cos{\phi} = y\cos{\phi} = d_y, \quad \cos{\phi} = d_y/y \\ 
 +(0,0,z) \cdot \hat{P} = |y|\cos{\psi} = y\cos{\psi} = d_z, \quad \cos{\psi} = d_z/z \\ 
 +$$ 
 + 
 +So what we want to find is a bearing vector $\hat{P}=(\hat{i},​\hat{j},​\hat{k})$ ​that satisfies having all three of these specific angles $\psi$, $\phi$, and $\theta$ between itself and the three hydrophone vectors simultaneously. ​ To solve this problem, we need to consider the results of dot products simultaneously. 
 + 
 +Matrix multiplication ​between two vectors is identical to taking ​their dot product
  
 $$ $$
Line 164: Line 179:
 \end{bmatrix} \end{bmatrix}
  
-+= H_{nx}\hat{i} + H_{ny}\hat{j} + H_{nz}\hat{k} 
 + 
 +=
 \begin{bmatrix} \begin{bmatrix}
 d_n d_n
 \end{bmatrix} \end{bmatrix}
 $$ $$
 +
 +Matrix Multiplication between two-dimensional matrices is merely a systematic way of calculating dot products between all relevant vectors. ​ The product matrix elements each correspond to a dot product, and their position denotes which vectors were involved. ​ Row vector 3 doted with column vector 1 becomes element $(3,​1)$. ​ Matrices are also involved in solving simultaneous equations.
  
 ==== Generalized Solution ==== ==== Generalized Solution ====