Filter löschen
Filter löschen

Error from xcorr

4 Ansichten (letzte 30 Tage)
David Craig
David Craig am 26 Sep. 2011
Hi, I'm trying to correlate a sample from one signal to another signal using the xcorr function as so,
xcorr(VAL_DF(i1:i2),CAR_DF);
but it gives me the following error,
??? Error using ==> fftfilt at 78 Filters of length greater than 2^20 are not supported. Use dfilt.fftfir instead.
Error in ==> xcorr>vectorXcorr at 127 pos_c = flipud(fftfilt(conj(y),flipud(x))); % positive lags
Error in ==> xcorr at 54 [c,M,N] = vectorXcorr(x,autoFlag,varargin{:});
Can ayone tell me what s going on?

Akzeptierte Antwort

Wayne King
Wayne King am 26 Sep. 2011
Try the updated version of fftfilt.m available here:
This was fixed in R2011a
Wayne

Weitere Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by