Algorithm 3 Accelerometer sample selection |
Require: Data , number of allowed measurements , window size n, threshold .
-
1:
if then
-
2:
Compute according to (46) using window size n.
-
3:
Remove measurements where from a.
-
4:
.
-
5:
while
do
-
6:
Compute the SVD , with A given by (27).
-
7:
Compute the coherence c according to (52).
-
8:
Remove the measurement with largest where from a.
-
9:
. ▹ A changes in subsequent iterations.
-
10:
end while
-
11:
end if
-
12:
return .
|