CalcWorldHub
Free online calculator · no signup

Real cepstrum at a quefrency calculator

Inspect repeating spectral structure through a real cepstral coefficient rather than a frequency-bin magnitude.

4,000 tools
Real cepstrum at a quefrency calculator — Uniform samples (signal units), Quefrency index and calculation method
Real cepstrum at a quefrency calculator: inputs and calculation method.

How to use this calculator

Inspect repeating spectral structure through a real cepstral coefficient rather than a frequency-bin magnitude.

  1. Enter Uniform samples (signal units), Quefrency index. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Real cepstrum at a quefrency explained

Real cepstral coefficient0.2507log-amplitude units
Real cepstral coefficient: 0.250668 log-amplitude units in the worked scenario.

A numerical walkthrough

Uniform samples (signal units) = [1, 0.5, 0.2, 0.1, 0, 0, 0, 0]; Quefrency index = 1.

  • Real cepstral coefficient: 0.250668 log-amplitude units
  • Zero-quefrency coefficient: -0.00089 log-amplitude units

The default short decaying pulse has a nonflat spectrum; its first cepstral coefficient quantifies spectral structure at one sample of quefrency.

The model behind the numbers

c[n]=IDFT(ln|DFT(x)|)[n], using the natural logarithm of amplitude magnitude.

Transform the logarithmic magnitude back into a quefrency sequence. Overall amplitude scaling changes only the zero-quefrency term.

What to enter

x — Uniform samples (signal units)
Chronological real samples; use a comma-separated list in the same signal units. Use comma-separated values in the stated order.
q — Quefrency index
Zero-based real-cepstrum sample index. Enter a whole number.

Interpreting the result

Exact or near-zero spectral bins are rejected instead of adding an undocumented log floor. This is the real, not complex, cepstrum.

Reading the outputs

Coefficients use natural-log amplitude units; multiply quefrency index by the sample interval to express a delay.

Frequently asked questions

Why is phase discarded?

The real cepstrum starts from magnitude only.

Is quefrency measured in hertz?

No; with a sample rate it corresponds to time.

What happens if I multiply all samples by two?

Only c[0] increases by ln(2), apart from roundoff.

How do I use the Real cepstrum at a quefrency calculator?

Enter Uniform samples (signal units), Quefrency index. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Real cepstrum at a quefrency?

Uniform samples (signal units) = [1, 0.5, 0.2, 0.1, 0, 0, 0, 0]; Quefrency index = 1. Real cepstral coefficient: 0.250668 log-amplitude units Zero-quefrency coefficient: -0.00089 log-amplitude units The default short decaying pulse has a nonflat spectrum; its first cepstral coefficient quantifies spectral structure at one sample of quefrency.