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: parallel program in matlab for 4 loop
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 61
Registered: 3/20/09
parallel program in matlab for 4 loop
Posted: Feb 9, 2013 4:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I want to solve 4 nonlinear equation using Matlab. I want to find many roots of this 4 nonlinear equation.

I have no idea about initial condition so I use 4 for initial condition. my program is as follow:

f1=nonlinear equation1(include variable x(1),x(2),x(3),x(4));

f2=nonlinear equation2(include variable x(1),x(2),x(3),x(4));

f3=nonlinear equation3(include variable x(1),x(2),x(3),x(4));

f4=nonlinear equation4(include variable x(1),x(2),x(3),x(4));
mufunc is include f1,f2,f3,f4,
for x1 =1: 200

for x2=1:200

for x3 =1:200

for x4 1:200


But this program takes time. Because I use 4 for that it run 200*200*200*200 time.
Would you please tell me how can I decrease time process of my program?
How can I write this program in parallel program in maple?

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.