Hello, I've got the ODE system and want to solve it using the cluster. I've been trying to use parfor-loop, but the initial condition must be changed for every new call of ode-solver. And the results I received isn't correct. Maybe there are some build-in tools for such problem? Here is my attemp to parallel ode solving
parfor i=1:100 [T,X]=ode45(@rightpart,[i*500-499 i*500],X0,options);%each worker will calculate values for T from 1-500,501-1000 and so on
Tt=cat(1,Tt,T); Xt=cat(1,Xt,X);%here I accumulate final value vectors
end
Best Answer