The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

Posts: 2,359
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 " <> wrote in message <kdc6vs$qji$>...
> 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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.