# Signal reconstruction

In signal processing, reconstruction usually means the determination of an original continuous signal from a sequence of equally spaced samples.

This article takes a generalized abstract mathematical approach to signal sampling and reconstruction. For a more practical approach based on band-limited signals, see Whittaker–Shannon interpolation formula.

## General principle

Let F be any sampling method, i.e. a linear map from the Hilbert space of square-integrable functions ${\displaystyle L^{2}}$ to complex space ${\displaystyle {\mathbb {C}}^{n}}$.

In our example, the vector space of sampled signals ${\displaystyle {\mathbb {C}}^{n}}$ is n-dimensional complex space. Any proposed inverse R of F (reconstruction formula, in the lingo) would have to map ${\displaystyle {\mathbb {C}}^{n}}$ to some subset of ${\displaystyle L^{2}}$. We could choose this subset arbitrarily, but if we're going to want a reconstruction formula R that is also a linear map, then we have to choose an n-dimensional linear subspace of ${\displaystyle L^{2}}$.

This fact that the dimensions have to agree is related to the Nyquist–Shannon sampling theorem.

The elementary linear algebra approach works here. Let ${\displaystyle d_{k}:=(0,...,0,1,0,...,0)}$ (all entries zero, except for the kth entry, which is a one) or some other basis of ${\displaystyle {\mathbb {C}}^{n}}$. To define an inverse for F, simply choose, for each k, an ${\displaystyle e_{k}\in L^{2}}$ so that ${\displaystyle F(e_{k})=d_{k}}$. This uniquely defines the (pseudo-)inverse of F.

Of course, one can choose some reconstruction formula first, then either compute some sampling algorithm from the reconstruction formula, or analyze the behavior of a given sampling algorithm with respect to the given formula.

Ideally, the reconstruction formula is derived by minimizing the expected error variance. This requires that either the signal statistics is known or a prior probability for the signal can be specified. Information field theory is then an appropriate mathematical formalism to derive an optimal reconstruction formula.[1]

## Popular reconstruction formulae

Perhaps the most widely used reconstruction formula is as follows. Let ${\displaystyle \{e_{k}\}}$ be a basis of ${\displaystyle L^{2}}$ in the Hilbert space sense; for instance, one could use the eikonal

${\displaystyle e_{k}(t):=e^{2\pi ikt}\,}$,

although other choices are certainly possible. Note that here the index k can be any integer, even negative.

Then we can define a linear map R by

${\displaystyle R(d_{k})=e_{k}\,}$

for each ${\displaystyle k=\lfloor -n/2\rfloor ,...,\lfloor (n-1)/2\rfloor }$, where ${\displaystyle (d_{k})}$ is the basis of ${\displaystyle {\mathbb {C}}^{n}}$ given by

${\displaystyle d_{k}(j)=e^{2\pi ijk \over n}}$

(This is the usual discrete Fourier basis.)

The choice of range ${\displaystyle k=\lfloor -n/2\rfloor ,...,\lfloor (n-1)/2\rfloor }$ is somewhat arbitrary, although it satisfies the dimensionality requirement and reflects the usual notion that the most important information is contained in the low frequencies. In some cases, this is incorrect, so a different reconstruction formula needs to be chosen.

A similar approach can be obtained by using wavelets instead of Hilbert bases. For many applications, the best approach is still not clear today.