CepstrumArray
CepstrumArray[data]
computes the power cepstrum of data.
CepstrumArray[data,type]
computes the specified type of cepstrum of data.
Details and Options
- Cepstral analysis has been used for characterization of echoes, separation of convolved signals and pitch detection application in signal processing.
- Real cepstrum is computed as the inverse Fourier transform of the log-magnitude Fourier spectrum.
- The data can be any of the following:
-
list arbitrary rank numerical or Quantity array audio an Audio or Sound object image arbitrary Image or Image3D object video a Video object - The type specification can be either of the following:
-
"Power" "Real" - For multichannel images and audio signals, CepstrumArray is returned separately on each channel.
- CepstrumArray accepts the FourierParameters option. The default setting is FourierParameters->{1,-1}.
Examples
open allclose allBasic Examples (2)
Scope (7)
Applications (3)
Detect the effect of a comb filer on a signal:
The signal only has two sinusoidal components:
A comb filter with delay of 31 samples is applied:
It is not easy to identify the periodicity of the comb filter by using conventional spectral analysis:
Since the cepstrum of a convolution is the sum of the cepstra of the two components, it is easier to identify the peak caused by the comb filter:
Measure the time constant of an echo:
Compute the logarithm of the cepstrum, and discard the second half (the real cepstrum is symmetric):
Select the position of the biggest peak:
Compute the period by dividing the quefrency by the sample rate:
Detect the pitch of a recording:
In harmonic sounds, the pitch does not correspond to the biggest peak in the spectrum:
Compute the cepstrum and discard the symmetric part:
Find the peaks and display the result:
The peak corresponding to zero quefrency is discarded, and the biggest peak is selected:
Compute the fundamental frequency by dividing the sample rate by the quefrency:
Text
Wolfram Research (2017), CepstrumArray, Wolfram Language function, https://reference.wolfram.com/language/ref/CepstrumArray.html (updated 2024).
CMS
Wolfram Language. 2017. "CepstrumArray." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/CepstrumArray.html.
APA
Wolfram Language. (2017). CepstrumArray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CepstrumArray.html