Turn sequences into z domain insight within seconds. Choose models, samples, or transfer functions easily. Download clean tables, then compare results across frequencies fast.
| Sequence x[n] | Z transform X(z) | ROC (right-sided) |
|---|---|---|
| a^n u[n] | z / (z - a) | |z| > |a| |
| r^n cos(ωn) u[n] | z (z - r cos(ω)) / (z^2 - 2 r cos(ω) z + r^2) | |z| > |r| |
| δ[n-2] | z^{-2} | z ≠ 0 |
Many physics measurements arrive as sequences: sensor voltages, sampled vibrations, photon counts, or discretized simulation states. The Z transform maps sequences into the z-domain, where dynamics appear as poles and zeros. This calculator supports right-sided models and data-driven sums for real lab signals.
The core definition is X(z)=Σ x[n] z^{-n}. The summation range matters: unilateral starts at n≥0, while bilateral includes negative indices. Finite-sample mode lets you set n0 and compute an exact partial sum, useful for truncated impulse responses and windowed captures. It also aligns indices with your timing origin.
Every rational Z transform pairs with a region of convergence (ROC). For a right-sided exponential x[n]=a^n u[n], the ROC is |z|>|a|. If your evaluation point lies outside the ROC, the defining series diverges, even when the algebraic expression is finite.
Poles indicate modes that dominate response. For z/(z−a), the pole at z=a moves outward as |a| increases, producing slower decay. Zeros create notches and cancellations. In transfer-function mode, a[k] and b[k] encode these structures for quick comparison.
Engineering workflows start with exponentials, ramps, and damped sinusoids. The tool includes r^n cos(ωn) u[n] and r^n sin(ωn) u[n]; r sets damping and ω sets oscillation rate. Example: r=0.9 gives ROC |z|>0.9 for causality checks.
With measured samples, compute X(z)=Σ x[n] z^{-n} directly. When z is provided, the calculator shows z^{-n} and each term, so you can see which indices dominate. This helps with short FIR filters, experimental impulse responses, and ringdown snippets used to estimate damping.
For LTI discrete systems, H(z)=(Σ b[k] z^{-k})/(Σ a[k] z^{-k}). On z=e^{jω}, H(e^{jω}) is the frequency response used in filtering and resonance studies. The frequency table samples ω from 0 to π (3–61 points), reporting magnitude, phase, and dB gain. This matches digital filter checks in instrumentation and control.
Good analysis is highly repeatable. Use the summary tiles to capture parameters (a, r, ω, n0) and computed values, then export CSV for spreadsheets or PDF for lab notes. Re-run settings to verify changes, compare designs, and document decisions with consistent outputs. Add experiment IDs to exports for stronger traceability.
Unilateral sums start at n≥0 and match causal sequences and initial-condition problems. Bilateral sums include negative indices and are useful for two-sided signals. The ROC depends on the chosen form and sequence support.
The ROC tells you where the original series converges to that closed form. Outside the ROC, the same rational expression may not represent the sequence’s Z transform. Always compare your z point to the ROC condition.
For frequency response, use z=e^{jω} (magnitude 1) with ω in rad/sample. For stability margin checks, pick |z| slightly larger than dominant pole magnitudes. The calculator accepts real/imag or magnitude/angle inputs.
A pole magnitude close to 1 indicates slow decay and long memory, often seen as narrow resonances in frequency response. If poles lie outside the unit circle for a causal system, the response grows and the system is unstable.
Yes. Enter your samples and the starting index n0 to match how the data was recorded. If you also enter z, the tool computes per-term contributions and the total X(z), helping validate models against measurements.
Enter b[0], b[1], … for the numerator of Σ b[k] z^{-k} and a[0], a[1], … for the denominator Σ a[k] z^{-k}. Typically a[0]=1 after normalization of a linear difference equation.
Use 9–21 points for quick inspection and 41–61 points for smoother plots or tighter comparison between designs. The table covers ω from 0 to π because discrete-time spectra are symmetric beyond π.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.