MATLAB Answers

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

2 次查看(过去 30 天)
José A Medel
José A Medel2021-5-7
回答: Chad Greene ,2021-5-7
>> x = randn(100,1);
>> y = randn(100,1);
>> crosscorr(x,y);

回答(1 个)

Chad Greene
Chad Greene 2021-5-7
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!

Translated by