Clear Filters
Clear Filters

How to download the "xcorr" inbuilt function

1 view (last 30 days)
Virginie
Virginie on 15 Mar 2013
Hi everybody,
Actually my question is simple and in the title... I need to cross-correlate two vector so I'd liked to get this function to do it.
Thanks in advance,
Virginie

Answers (2)

Matt J
Matt J on 15 Mar 2013
You need to buy the Signal Processing Toolbox.
  1 Comment
Matt J
Matt J on 15 Mar 2013
Edited: Matt J on 15 Mar 2013
conv(x(:),flipud(y(:)))
should be the same as xcorr(x,y) pretty much.

Sign in to comment.


Shashank Prasanna
Shashank Prasanna on 15 Mar 2013
Its fairly easy to implement, or you can definitely find something on FEX that will work for you:

Community Treasure Hunt

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

Start Hunting!