MATLAB Answers


correlation of speech signal

Asked by Primi
on 25 Apr 2013

i hav a speech signal which contains noise. sampling frequency 8000Hz

how can i perform the autocorrelation of this signal with the delay of 100 samples?



No products are associated with this question.

1 Answer

Answer by Wayne King
on 25 Apr 2013
Edited by Wayne King
on 25 Apr 2013
 Accepted answer

Do you have the Signal Processing Toolbox? If so, you can use xcorr()

I'll give you an example

load mtlb;
[xc,lags] = xcorr(mtlb,100,'coef');

xc above is 201 samples long with the autocorrelation out to lags of +/- 100 (plus 0)

You can just extract the positive lags with



Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today