Research Article
A Robust Indoor Mobile Localization Algorithm for Wireless Sensor Network in Mixed LOS/NLOS Environments
Algorithm 2.
Description of Residual resampling.
| Input: | | Output: | | | | | | | | | | | | | end | | | | end | | end | | index=1 | | for i=1:L | | if (N_babies(1,i)>0) | | for j=index:index+N_babies(1,i)-1 | | outIndex(j) = inIndex(i) | | end | | end | | index= index+N_babies(1,i) | | end |
|