  We show that measures with finite support on the real line are the unique
solution to an algorithm, named generalized minimal extrapolation, involving
only a finite number of generalized moments (which encompass the standard
moments, the Laplace transform, the Stieltjes transformation, etc). Generalized
minimal extrapolation shares related geometric properties with basis pursuit of
Chen, Donoho and Saunders [CDS98]. Indeed we also extend some standard results
of compressed sensing (the dual polynomial, the nullspace property) to the
signed measure framework. We express exact reconstruction in terms of a simple
interpolation problem. We prove that every nonnegative measure, supported by a
set containing s points,can be exactly recovered from only 2s + 1 generalized
moments. This result leads to a new construction of deterministic sensing
matrices for compressed sensing.
