Extremely Slow !!!!

My codes takes so long time to be executed. I am using the Symbolic engine and MATLAB 2010b.
I tried to use matlabbool and parfor but the performance doesn't get any better.
I have a machine with 8 CPUs. Would anyone please tell me how I can run my code using all these CPUs ???

3 Comments

Edric Ellis
Edric Ellis on 17 Apr 2012
Any chance you can post some code showing what you tried with PARFOR?
deep
deep on 17 Apr 2012
wtemp= 0.01:0.01:0.99;
parfor i=1:length(wtemp(1,:))
eval(1,i) = abs(subs(det(M),wtemp(1,i)));
end
Walter Roberson
Walter Roberson on 17 Apr 2012
Calling a variable "eval" is likely to get you into trouble, as "eval" is the name of an important MATLAB routine.

Sign in to comment.

Answers (0)

Categories

Find more on Parallel Computing Toolbox in Help Center and File Exchange

Asked:

on 17 Apr 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!