Skip to main content
. 2021 Aug 5;21(16):5288. doi: 10.3390/s21165288
Algorithm 1: Alonso and Shuster (TWOSTEP) [1]

Step 1: Calculate zk,Lk,fork=1,2,,N

        by using (4)–(6)  

Step 2: Calculate the centered values z˜k,L˜kfork=1,2,,N (7)

Step 3: Calculate centered estimate θ˜ and covariance matrix P˜θθ (8)

Step 4: Extract c and E from θ following (11)

Step 5: Calculate ϕ(θ) and g(θ) from (10)

Step 6: Update θ using (9)

Step 7: Calculate η following (12)

Step 8: Repeat steps 4–7 until η is sufficiently small  

Step 9: Apply SVD on E* (13) and define matrix W

Step 10: Calculate D*,h* (14) and T,h (15)