#### Abstract

We propose a generalized Papoulis-Gerchberg algorithm for the recovery of gaps in general analytic functions. The continuous-time algorithm is based on signal expansions in terms of the Chebyshev polynomials of the first kind, and the discrete-time implementation is based on a suitable nonuniform sampling scheme and the discrete cosine transform.

#### 1. Introduction

Gapped (or missing) data is encountered when it is hard to obtain contiguous measurements of a function for a long time. The recovery of the missing function values is possible, at least in theory, given a certain a priori knowledge about the function, for example, analyticity on a certain interval. A real-valued function , defined on a closed interval on the real line, is called analytic on , if there exists an analytic extension of onto some open set of the complex plane that contains [1]. That is, there is a unique single-valued analytic function, defined on , that coincides with on . Let be analytic on . When the values of on a subinterval of are given, can be determined on , by means of analytic continuation.

In many missing data problems, the functions are assumed to be bandlimited. Let denote the Hilbert space of all square integrable functions defined on the real line . For , and a function , we define the operators and as follows: Let , and, be the Fourier transform and inverse Fourier transform of , respectively. For , and a function , we define the bandlimiting operator as follows: where The bandlimited signal extrapolation is defined as follows. Find having and knowing that . Various methods were proposed for solving the bandlimited extrapolation problem; [2] contains a detailed comparison of some of the methods. The iterative bandlimited signal extrapolation algorithm of Papoulis and Gerchberg [3, 4] is attractive due to its relative simplicity, requiring only Fourier transform and inverse Fourier transform in each iteration. Based on the identity Papoulis [3] and Gerchberg [4] proposed the following algorithm: A proof for the convergence of the algorithm was given by Papoulis [3] using signal expansions in terms of the prolate spheroidal wave functions. Gerchberg [4] actually solved the dual problem of extrapolating the spectrum of a finite object beyond its diffraction limits, leading to superresolution and image enhancement.

A bandlimited function , defined on the real-line , is an entire function of exponential type when is extended to [5]. Hence, bandlimited signals are a very special case of analytic functions, and other analytic signals may be encountered in practice. In this paper, we propose a method for the recovery of gaps in general analytic signals using a generalization of the Papoulis-Gerchberg algorithm, based on signal expansions in terms of the Chebyshev polynomials of the first kind. In Section 2, we briefly review the properties of Chebyshev polynomials. We generalize in Section 3 the Papoulis-Gerchberg algorithm from continuous-time bandlimited signals to continuous-time signals in polynomials spaces and general analytic signals. We then focus, in Section 4, on the discrete implementation of the continuous-time algorithm, based on a suitable nonuniform sampling scheme and the discrete cosine transform. The performance of the recovery algorithm is demonstrated, in Section 6, by a numerical example.

#### 2. Chebyshev Polynomials

The Chebyshev polynomial of the first kind is a polynomial in of degree , defined by the relation for [6]. The range of the corresponding variable is (these ranges are traversed in opposite directions). Intervals other than are easily handled by the change of variables Without loss of generality, we focus hereafter on the interval .

Let be the Hilbert space of all real-valued square integrable functions on with respect to the nonnegative weight function This is the space of functions such that the norm is finite. The associated inner product is The set forms a complete orthogonal polynomial system in . The orthogonality relation is given by [6] where The zeroes of the Chebyshev polynomial are These zeroes are listed in decreasing order in . The th degree polynomial , interpolating a function in the zeroes of , can be written as a sum of Chebyshev polynomials in the form where the coefficients in (14) are given by the explicit formula where It follows [7β9] that which is the well-known discrete cosine transform (type II) [10] applied on the samples of the function taken at a nonuniform sampling grid corresponding to the zeroes of . Efficient algorithms exist for computing the discrete cosine transform (see, e.g., [11] and references therein).

#### 3. Gap Recovery in General Analytic Signals Based on A Chebyshev Polynomial Series Expansion

Let denote the subspace of all polynomials of degree <*N* () in . Let denote the orthogonal projection operator onto
where is defined in formula (12) and .

Let be the subspace of all the functions in which vanish outside a collection of disjoint closed intervals in and let be the orthogonal complement of in . We denote by and the orthogonal projection operators onto subspace and , respectively. It follows that , where is the identity operator in . If we assume that , then we have: The continuous-time recovery problem can be stated as follows. Find having and knowing that . We propose the following Papoulis-Gerchberg type algorithm for recovering gaps in polynomial signals in (PGP algorithm).

*The PGP Algorithm*

The iteration process is stopped when , where is a user specified threshold. or is taken as the result of the recovery algorithm after iterations.

If , then , and it follows that
We know from (22) and (23) that
Therefore,
which proves that the PGP algorithm has the property that it reduces the error energy during the iteration process.

Lemma 1. *A signal can be uniquely determined from by using the PGP algorithm (21), and (22).*

*Proof. *Iterating (22), we obtain
Substituting (23) in (26), we obtain
According to von Neumann's theorem on alternating projections [12], for every ,
where is the projection of onto the closed subspace . Any is analytic on and can vanish in an interval if and only if it is the zero function. Hence, the subspace contains only the zero function. We obtain that and that the PGP converges in norm to the required function .

is a bounded positive self-adjoint compact operator. Hence, there exists an orthonormal basis of consisting of eigenfunctions , , of the operator , with corresponding real positive eigenvalues , such that [13].

Lemma 2. *Let be an eigenfunction of with corresponding eigenvalue , and let be the given values of . Then,
*

*Proof. *We will prove (29) by induction. It is true for that
where we used the identity (since ).

Suppose that it is true for some . By using (22), we obtain
Substituting and using the induction assumption, we obtain
In (31) and (32), we used the idempotent property of the orthogonal projection operator (i.e., ). It is easy to see that
Hence,
which completes the proof.

Any can be represented as where Using (29) and (35), we obtain that after iterations of the PGP algorithm The energy of error is given by It follows that the rate of convergence of the PGP algorithm is dependent on the spectral representation of the signal in terms of the eigenfunctions of the operator . If the signal contains only significant components which correspond to relatively high eigenvalues, the convergence is fast. If this is not the case, the PGP will be slowly convergent.

The PGP can also be viewed as an example of signal restoration by the method of projections onto convex sets (POCS) [14, 15]. The two convex sets, or constraints, are the affine set , which contains all the functions with and the subspace . If but , we have two *inconsistent* convex constraints. The convergence of a POCS algorithm with two inconsistent convex constraints is a well-studied problem [16, 17]. In this case, the PGP algorithm iterates converge to the signal closest to , that is, with the minimum distance , where is given by
Thus, the PGP algorithm is exact for all , and a certain βbest polynomial approximationβ in the sense of (39) is obtained when .

The expansion of analytic function in terms of the Chebyshev polynomials converges rapidly (exponentially). It can be proved that if the function can be extended to a function analytic on the ellipse , where , then for all in [6]. This property of rapid convergence combined with the approximation property (39) makes the proposed algorithm a practical gap recovery tool for *general analytic functions*.

#### 4. Discrete Implementation of the Continuous-Time-Recovery Algorithm

A Chebyshev polynomial-based series expansion allows a convenient and accurate discrete implementation by a nonuniform sampling scheme, where the samples are taken at time locations that are Chebyshev polynomial zeroes and a discrete cosine transform (DCT) applied on the nonuniform samples [8, 9]. Equation (15) is a Gauss-Chebyshev quadrature for the original integral (19), which is known to be a very accurate numerical method [6]. In addition, if the maximum absolute error is used as the optimality criterion, then the interpolating polynomial given by (14) provides optimal approximation among polynomials of degree = to the function [18].

Let denote the real -dimensional space. The inner product is given by and the induced norm is given by Let be the unitary DCT matrix defined as The DCT of the vector (arranged as a column vector) is given by . The inverse DCT of the vector is given by , where is the transpose of . A discrete signal is bandlimited if its DCT vanishes on some fixed set, that is, if where is a fixed nonempty proper subset of . The set of signals bandlimited to a specific set is a linear subspace of , of dimension equal to the cardinal of the complement of .

Let , be a vector in , whose elements are the samples of the analytic function taken in the zeroes of (13). Since only is available, only certain samples are known. Assuming that and , the *discrete recovery problem* is to determine the DCT coefficients for from the known samples. Using the DCT coefficients (with an appropriate simple scaling) in (14), we obtain the th degree polynomial that approximates .

Let be a subset of size in containing the indices of the known samples, let denote the subset of indices , and denote . The required DCT coefficients can be determined by solving the least squares problem It can be proved [19] that any square submatrix () of the matrix in (44) is the product of a Vandermonde and upper triangular matrix, and therefore, it is invertible. It follows that the submatrix , , , is a full column rank matrix when . The resulting least squares problem (44) can be solved by many methods (e.g., singular value decomposition, QR factorization, conjugate-gradient method for solving the normal equations, etc.) [20, 21]. A simple popular option (not necessarily the best in terms of computational complexity) is a version of the discrete Papoulis-Gerchberg algorithm to be described below.

Let the operator map a signal into another, , by multiplying with a diagonal matrix containing only zeroes or ones. , if , and , otherwise. It is easy to see that this operation is idempotent and self-adjoint. Hence, is the orthogonal projector onto the subspace of signals with zero-valued elements at the indices not belonging to .

Let the operator map a signal into another , where a diagonal matrix containing only zeroes or ones. , if , and , otherwise. Using the identities and , it follows that is idempotent and self-adjoint for every . Hence, is the orthogonal projector onto the subspace of bandlimited (in terms of the DCT and ) signals in .

A discrete version of the PGP algorithm is obtained by working in the finite-dimensional space and using the operators instead of and instead of . The discrete version of the PGP is also a projection onto convex sets algorithm, and it follows that the iterates converge to the required least squares solution (see the discussion before (39)).

#### 5. Discussion

Our model is based on two assumptions. First, the original analytic signal can be accurately approximated by a linear combination of a few Chebyshev polynomials (exponential convergence), and, secondly, that the Gauss-Chebyshev quadrature (15) provides a good approximation to the original integral (19). When these assumptions are not (approximately) satisfied (e.g., due to noise), the algorithm may converge (it always converges) to a crude approximation of the original signal. In such cases, a higher-order polynomial approximation and a denser sampling grid would provide an improvement. If the model assumptions are (approximately) satisfied, the resulting approximation is very accurate and minimizes a certain objective function in the sense of (39).

A Chebyshev polynomial series expansion is a Fourier cosine series with a change of variable for [6]. While itself is not periodic in , the function is periodic in . The smoother the function is, the more rapidly its Fourier coefficients decrease. Since is periodic and analytic, its Fourier series must have exponential convergence. For a Fourier cosine series expansion for the nonperiodic function , the first derivative of the function is discontinuous at the interval's borders and for a Fourier series expansion, the function itself is discontinuous at the intervalβs borders. It follows that a Chebyshev polynomial series expansion of an analytic function provides a better approximation than a Fourier series expansion (using a discrete Fourier transform in discrete implementations [22]) with the same number of terms, which makes it attractive to recovery problems. The improved approximation comes, however, at the price of a nonuniform sampling grid. The sampling points are clustered near the boundaries of the interval . It follows that the proposed algorithm is more suited to the recovery of gaps that occur in the middle of the signal or nearby. In such cases, we benefit from both the excellent approximation properties of the Chebyshev polynomials and the fact that less missing samples have to be recovered.

#### 6. Numerical Example

We demonstrate the performance of the discrete implementation of the recovery algorithm by a gap recovery example. The function defined on the interval It is analytic on but has a pole at , where . We assume that the piece is missing and that signal is well approximated by 64 Chebyshev polynomials. The samples are taken at the 128 zeroes of the polynomial , and it follows that 34 samples are missing. The proposed algorithm is used to recover the missing samples: the norm of the error is 0.16, while the norm of the missing samples is 3.5244. We see that the recovery algorithm succeeds in approximating the missing data. Finally, the function and the resulting polynomial approximation are given at a uniform grid of 128 points in the interval in Figure 1.

#### 7. Summary and Conclusions

The recovery of gaps in general analytic functions was obtained by using signal expansions in terms of the Chebyshev polynomials of the first kind. The recovery algorithm is exact for polynomial signals, and certain best polynomial approximations are obtained for general analytic signals. For the continuous-time case, we have extended the well-known Papoulis-Gerchberg algorithm for bandlimited signals to signals in polynomial subspaces. The discrete implementation is based on a specific nonuniform sampling grid (at the zeroes of a Chebyshev polynomial) and the discrete cosine transform and results in solving a linear least squares problem.