How this calculation works
Recover distinct exponential modes and complex amplitudes from equally spaced samples using a bounded Prony reconstruction.
yk=Σaj zj^k; a recurrence annihilates the modal poles zj; λj=Log(zj)/Δt.A worked example
The default sequence2(0.8)^k+3(0.4)^k recovers poles0.8 and0.4 and amplitudes2 and3 with a rounding-scale residual.
Good to know
1–4 distinct nonzero modes,2–40complex sample pairs, at least2m observations, spacing0<Δt≤100. Normal-equation linear estimates with rank checks; near-repeated roots rejected. Principal logarithmic rates, aliasing and noise sensitivity explicit.
Reference: MathWorks: Prony signal modeling (opens in a new tab) ↗
Exponential modes in a sampled sequence
A sum of exponentials produces a sequence in which each mode advances by multiplication with a constant pole at every sample. Prony reconstruction estimates those poles and their amplitudes from the observed sequence. It is a parameter-identification problem, not just a forecast of one already supplied recurrence.
Complex poles can describe damped oscillations, while real positive poles describe nonoscillatory growth or decay. The implementation accepts complex sample pairs so the algebra does not force every possible mode into a real-only representation. The entered mode count is a model assumption, not an automatically selected statistical result.
Compare this with the Sampled data rational approximation calculator with poles and residues. Recover exponential modes and amplitudes of a sampled sequence, rather than fit frequency-domain poles/residues to transform samples.
Sampling order and spacing
Enter samples in temporal order as real and imaginary pairs, with one common positive spacing between observations. The first row is sample index zero. At least twice the chosen number of modes is required to identify the basic algebraic model, and additional samples provide an overdetermined consistency check.
Unequal sample times do not fit this recurrence construction. Do not compress gaps in a recorded series and retain the original spacing as if nothing changed. Missing or irregular observations require another exponential-fitting method that uses their actual times rather than treating their row numbers as the time axis.
Two decays in the worked example
The default sequence is two times zero-point-eight to power k plus three times zero-point-four to power k. Its initial value is five. Subsequent observations combine a slower decay with a faster one, so neither a single ratio of neighboring values nor one exponential can explain the full sequence.
With mode count two, the recovered poles are approximately zero-point-four and zero-point-eight. Their amplitudes are approximately three and two in the corresponding output order. The reconstructed samples agree with the entered ones to rounding scale; output ordering is by pole coordinates rather than by the original written expression.
Inferring an annihilating recurrence
If the modal poles are roots of a monic polynomial, its coefficients define a constant-coefficient recurrence obeyed by every sum of those modes. The calculator forms a shifted sample system to estimate that polynomial's lower coefficients. Extra sample rows are handled through a bounded complex least-squares system.
Polynomial roots then give the modal poles. A second system of pole powers estimates amplitudes, and all samples are reconstructed independently from those amplitudes and poles. This final residual checks the recovered model against the original observations rather than only against its recurrence equations.
Continuous rates and frequency aliases
A discrete pole z corresponds to a continuous exponential rate given by log z divided by the sample spacing. The complex logarithm has many branches, whose imaginary parts differ by integer multiples of two pi. Sampling alone cannot distinguish those aliased continuous frequencies.
The displayed rate uses the principal logarithm. It is one representative of the compatible frequency family, not proof that a physical oscillator lies within that branch. A zero pole has no finite logarithmic rate and is outside this implementation's supported distinct exponential-mode model.
Conditioning and noisy observations
Nearly repeated poles create almost dependent columns of the amplitude system. A small sample perturbation can then change estimated poles dramatically even when reconstructed samples remain close. Rank and root-separation checks reject some unresolved cases, but they do not establish low statistical uncertainty for every accepted fit.
The linear least-squares step uses normal equations and is not a noise-optimal nonlinear estimator. It can be unsuitable when observations span extreme scales or contain significant error. Treat a nonzero residual as a model diagnostic, and compare candidate mode counts cautiously rather than choosing the largest count that fits noise.
Checks before interpreting a decomposition
Reconstruct every supplied sample, then test held-out samples if available. Reversing amplitude order without its corresponding pole changes the model, while permuting complete mode records does not. Scaling the entire sequence should scale amplitudes but leave identified poles unchanged when numerical conditioning remains adequate.
For measured signals, report sampling units and any known frequency limits alongside the principal rates. This page does not fit arbitrary nonuniform data, infer confidence intervals or prove that a finite sequence has the same exponential law forever. Its promise is a bounded reconstruction of the declared finite model.
A few questions, answered
Does it choose the number of modes?
No. You supply that model order, and the calculator checks the resulting reconstruction.
Are continuous frequencies unique?
No. Uniform sampling permits logarithmic frequency aliases separated by2π divided by the sample spacing.
Can sample times be irregular?
No. This Prony recurrence requires equally spaced observations in temporal order.
Does a tiny residual prove stable pole estimates?
No. Nearly repeated or poorly separated modes can be sensitive even when sample reconstruction is accurate.