MATLAB Answers

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

조회 수: 2(최근 30일)
José A Medel
José A Medel 2021년 5월 7일
답변: Chad Greene 2021년 5월 7일
>> x = randn(100,1);
>> y = randn(100,1);
>> crosscorr(x,y);


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