Skip to main content
. 2023 Jan 30;25(2):250. doi: 10.3390/e25020250
Algorithm 1: Signal detection using dynamic programming.
  •  Input:

    yRN, xRL, and the number of signal occurrences K

  •    1:

    fork=1 to K do

  •    2:

       for i=1 to N do

  •    3:

         compute g[i,k] according to (5)

  •    4:

       end for

  •    5:

    end for

  •    6:

    returng[N,K] and estimates of the locations of the signal occurrences n^1,n^K