Skip to main content
. 2022 Nov 14;22(22):8789. doi: 10.3390/s22228789
Algorithm 5 Realisation of Theorem 2
  •  1:

    n:=1

  •  2:

    while n ≤ 60 do

  •  3:

       for j=1 to 200 do

  •  4:

         Generate independently and uniformly n2 random points on the unit interval [0,1];

  •  5:

         Calculate Tn2(a)(j) according to Theorem 2;

  •  6:

       end for

  •  7:

       for k=1 to 20 do

  •  8:

         Calculate the average Tn2,k(a)=110j=110Tn2(a)(j+(k1)*10);

  •  9:

         Insert the points (n2,Tn2,k(a)) into the chart;

  • 10:

       end for

  • 11:

       n:=n+1

  • 12:

    end while