>
|
|
We will artificially pollute a signal with an echo. The Cepstrum command will then be used to identify the location of the echo.
>
|
|
Define a clean, unpolluted signal:
>
|
|
>
|
|
>
|
|
The echo is the original signal, delayed by tEcho.
>
|
|
The dirty signal is the clean signal plus the echo multiplied by a small factor:
>
|
|
>
|
|
>
|
|
>
|
|
The peak in the cepstrum plot shows the location of the echo. Find the sample at which the echo occurs.
>
|
|
>
|
|
The echo starts at sample 452 and a time of t[452]
Now use this information to generate an IIR filter to remove the echo.
>
|
|
>
|
|
>
|
|
>
|
|