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: 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 at NCTM 1994-2018. All Rights Reserved.