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: loop paralelization
Replies: 2   Last Post: Feb 4, 2013 1:02 PM

Advanced Search

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

Posts: 62
Registered: 5/7/10
loop paralelization
Posted: Feb 4, 2013 9:12 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello, I need to vectorize (to speedup code) the following loop:

[dim, n]=size(x);
for i=1:n
for j=1:i
temp=feval(phi,r, const);

where function "phi" is defined as
function u=phi(r, const)

Any hints?

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.