1
$\begingroup$

I'm trying to construct a cepstrum using MATLAB built in function but I don't get the difference between MATLAB's functions rceps and cceps. Can anyone explain to me the difference between rceps and cceps?

$\endgroup$
0
$\begingroup$
  • rceps: The real cepstrum is the inverse Fourier transform of the real logarithm of the magnitude of the Fourier transform of a sequence.
  • cceps: Cepstral analysis is a nonlinear signal processing technique that is applied most commonly in speech processing and homomorphic filtering. It returns the complex cepstrum of the real data sequence using the Fourier transform. [Matlb signal processing tool box]
$\endgroup$
1
$\begingroup$

RTFM? rceps says:

y = real(ifft(log(abs(fft(x)))));

while cecps says:

h = fft(x);
logh = log(abs(h)) + sqrt(-1)*rcunwrap(angle(h));
y = real(ifft(logh));
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.