why the Real Cepstrum code doesn't give an accurate figure?
2 次查看(过去 30 天)
显示 更早的评论
Hi, implementing a basic cepstral analysis, but there's a problem that we haven't got it; please look at ;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166565/image.jpeg)
this's the saved voice of vowel 'e' and the basic code for real cepstrum is that;
eplot=find(abs(e)>0.01,1):length(e);
y=ifft(log(abs(fft(eplot))));
plot(y)
and getting this;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166566/image.jpeg)
I think, we should have got a figure like that ;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166567/image.jpeg)
What we miss? Thanks in advance.
4 个评论
Adam
2017-8-7
If you aren't taking the fft of the indices rather than the data it would help if you show tha actual code you are using because what you posted is doing an fft on index values which is equivalent to something like this:
y = ifft( log( abs( fft( 200:20000 ) ) ) );
figure; plot( y )
which gives a plot similar to yours.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!