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: performance issue....
Replies: 4   Last Post: Jan 18, 2013 4:39 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Curious

Posts: 1,992
Registered: 12/6/04
Re: performance issue....
Posted: Jan 18, 2013 3:10 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Philipp " <metamurk@googlemail.com> wrote in message <kdc6vs$qji$1@newscl01ah.mathworks.com>...
> jap, i tried this. But with preallocation, my code becomes much more slowly because of the finds and the nnz's take muc more. So welcome to the 80's ....

I don't have MATLAB installed on this computer, but it seems to me that you are using R & R1 (as a "null" test). Perhaps instead of using FIND you could use a command such as ISMEMBER or ANY or somthing like that.



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.