Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Subset of xcorr2
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Paul Skvorc

Posts: 13
Registered: 2/6/07
Subset of xcorr2
Posted: Sep 23, 2009 2:24 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Now that my conbinations indexing problem is solved, (thanks again Mr Fig), I would like to speed up computation time.

The problem is:

Currently I use the xcorr2 function on a pair of 64x128-cell matrices. Unfortunately, I am using it on 10s of thousands of 64x128-cell matrices. I KNOW that the lags outside of 'close' to zero (say 10x10) are the only ones I am interested in. There are a LOT of wasted FLOPS spent on calculating the whole 127x255 correlation matrix.

The question is:

Is there a way to index the xcorr2 command to minimize the FLOPS required to get the information I am after? Restated another way: Can I specify a range of lags for xcorr2?

I understand that in the alternative, I could rewrite the xcorr2 function, but I hate to reinvent the wheel.

Thanks in advance,
Paul



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.