Hello I am trying to computer the Complex Cepstral Transform of an audio signal. I am using wavread to get an array of data type double precision. However, when I try to use cceps to do the Complex Cepstral Transform, I get the following error:

Error using cceps>chkinput (line 157)
The input signal X must be real.

Error in cceps (line 73)

Is there something I am doing wrong or is there another way to do this transform? Thank you!

Also, I tried computing this manually using the definition of the complex cepstral transform as follows:


where f is the array of double precision audio data. However, this returns the error: Undefined function 'ln' for input arguments of type 'double'.

  • $\begingroup$ The natural logarithm is called 'log' in Matlab. $\endgroup$ – Matt L. Jul 11 '13 at 9:27

Natural log in matlab is 'log(x)' and log to the base 10 is 'log10(x)'

More information on Mathworks


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.