Skip to main content
. 2022 Dec 14;22(24):9820. doi: 10.3390/s22249820
Algorithm 1: AMS transformation.
  • 1:

    set pointer p to 0

  • 2:

    setk=2

  • 3:

    whilek<= Number of measurement points do

  • 4:

       calculate euclidean distance d between measurement points k and k1

  • 5:

       Store coordinate (p+d) in matrix C

  • 6:

       set pointer p to p+d

  • 7:

       Increment k

  • 8:

    end while

  • 9:

    return Matrix C with new coordinates of points in AMS