Professional Documents
Culture Documents
Algorithm
Algorithm
Step-2: Find the Euclidian distances of all the calibration points from the test point as follows: di = sqrt( ( SS!t (1" - SS!c(1""2 # ( SS!t (2" - SS!c(2""2 #.........# ( SS!t (n" - SS!c(n""2 " where n is the number of access points. Step-$: Select % access points from which the distances from test point are shorter than others. Step-&: From the fin'erprint database compute the mean of the coordinates of the % calibration points to 'et the current location. Step-(: Set current location as previous location. Step-): epeat steps 2 to ( as lon' as positionin' is needed.