Skip to main content
. 2020 Apr 29;20(9):2513. doi: 10.3390/s20092513
Algorithm 4 assignTimeRef.
   Input: n,ψs,ψh      Output: tks
  • 1:

    tks0

  • 2:

    step=ψhψs

  • 3:

    h=0

  • 4:

    increment=step

  • 5:

    fori1;i<n;i=i+stepdo

  • 6:

      m=h

  • 7:

      for ji;j<incrementj<n;j=j+1 do

  • 8:

        tjs=m

  • 9:

        m=m+0.01

  • 10:

      end for

  • 11:

      increment=increment+step

  • 11:

      h=h+1

  • 13:

    end for