Skip to main content
. 2015 Oct 30;15(11):27760–27782. doi: 10.3390/s151127760
Algorithm 1 Joint optimization of τ and K
  • (1)

    initialize n = 0, K(n) = K0 where K0 is any integer within interval (0,  min(Tε,  N)), τ(n) = 0 and the estimation error δ;

  • (2)
    with given K(n), select the K(n) largest SNRs as {γi}i=1K(n) and obtain τ*(K(n)) through the following steps:
    • a)
      initialize τmin=0 and τmax=T K(n)ε;
    • b)
      set τ=(τmin+τmax)/2;
    • c)
      if PAcc(τ)==PAcc(τmin): let τ=τmin;
    • d)
      else if PAcc(τ)==PAcc(τmax): let τ=τmax;
    • e)
      repeat Steps (b) to (d) until |τmaxτmin|<δ;
    • f)
      set τM=(τmin+τmax)/2;
    • g)
      calculate τ*(K(n))=max(π(K),  τM,τl|K=K(n));
  • (3)

    set τ(n+1) = τ*(K(n));

  • (4)

    with given τ(n+1), obtain K*(τ(n+1)) from Equation (37);

  • (5)

    set K(n+1) = K*(τ(n+1)) and n = n + 1;

  • (6)

    repeat Steps(2)~(5) until |τ(n)τ(n1)|δ and |K(n)K(n1)|δ;

  • (7)

    output τ*=τ(n) and K*=K(n).