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

13 views (last 30 days)
>> 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.


Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!