Research Article
[Retracted] Magnetic Matching-Aided Indoor Localization System Based on a Waist-Mounted Self-Contained Sensor Array
Input: The one-dimensional signal and with length and , respectively. | Output: The DTW distance ; | 1: Let denote the distance among pairs of values in and . | 2: fordo | 3: fordo | 4: d = . | 5: end for | 6: end for | 7: Let denote DTW distance from and . | 8: D = d. | 9: fordo | 10: D = d+D. | 11: fordo | 12: D = d+D. | 13: D = d+min([D, D, D]). | 14: end for | 15: end for |
|