correlation of speech signal
3 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Wayne King
on 25 Apr 2013
Edited: Wayne King
on 25 Apr 2013
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
stem(lags(101:end),xc(101:end))
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!