Skip to main content
. 2017 Apr 11;17(4):833. doi: 10.3390/s17040833
Algorithm 2. TOA estimation.
  1. Find the index of the maximum variation column in slow time:
    nmax_var=argmaxn_fixed|variation{Wmn(:,n_fixed)}| (4)
    Wmn is the gesture matrix, and the “m” represents the slow time length, whereas the “n” represents the fast time length of the matrix.
  2. Extract the sizefast data around nmax_var from one slow time scan data (the x axis is fast time, and the y axis is magnitude), and apply the Hilbert transform to obtain the envelope of these data.
    rhilbert=abs[hilbert{y(nmax_varsizefast2:nmax_var+sizefast2)}] (5)
    y represents the background-subtracted signal after the loopback filter in Section 2.1. sizefast is basically determined by the length of Gaussian-modulated pulses transmitted and received and adds margins taking into account the slight length changes in Gaussian-modulated pulses that occur during reflection from the main target.
  3. Find the center of fast time index ncenter_mass using rhilbert and Equation (6).

    The equation below is similar to the center of mass concept:
    ncenter_mass=n=nmax_varsizefast2nmax_var+sizefast2 rhilbert(n)*nn=nmax_varsizefast2nmax_var+sizefast2 rhilbert(n) (6)
  4. Find ncenter_mass using the method in Step 3 for each slow time.

  5. Find the TOA variance using ncenter_mass data in Step 4:
    TOA variance=variance{ncenter_mass(1:m)} (7)
    The symbol “m” represents the slow time length.