Why ?? Undefined function 'crosscorr' for input arguments of type 'double'.

3 views (last 30 days)
José A Medel
José A Medel on 7 May 2021
Answered: Chad Greene on 7 May 2021
>> x = randn(100,1);
>> y = randn(100,1);
>> crosscorr(x,y);

Answers (1)

Chad Greene
Chad Greene on 7 May 2021
crosscorr is part of the econ toolbox. If you don't have that toolbox, you can probably rewrite your code to use xcorr instead.

Community Treasure Hunt

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

Start Hunting!