Using Matlab 2012a under Windows 7..I wrote a code which includes one bottle nick at such line ....
%%%
K=zeros(Np,Np);
for i=1:ord
K=K+sparse(t(1:ord,:),repmat(t(i,:),ord,1),double(subs(Kv(:,i),Arg(Kv,1,1,6),Arg(Kv,1,2,6))),Np,Np);
end
%%%%
Note: Kv is symbolic matrix and Arg is a function that provides OLD and NEW and it uses a number of global variables.
Now, using Matlab 2013.. under ubuntu 12.04.. although the amount of memory consumed is much less but the execution time is extremely higher (80seconds became more than an hour)...why?
What am I missing??
You compare R2012a/Win with R2013a/Linux. Then different timings are expected. Please post, what "extremely higher" means.
it is an algorithm .... so in terms of one iteration:
R2012/win: 80 seconds
R2013/Linux: an hour untill now and not finished.
0 Comments