FREDHOLM INTEGRO-DIFFERENTIAL EQUATIONS using SINC-COLLOCATION PROCEDURE

1 visualización (últimos 30 días)
Hi, I am using MATLAB R2007b to compile an M-file(filename = divine) program that comfortably generate solution for the above title. I called the function from another M-file(script) using a for-loop and I got the desired solution. But when I try to pick some of the generated data for plotting using the function 'gather', it shows the following error:
"Undefined method 'gather' for input argument of type double' .
I tried using DISTRIBUTED COMPUTING TOOLBOX with Parallel Mode with 4 labs and I still got the same error.
How do I fix this problem? I have attached the the script I used to invoke the M-file.
alpha = 1; a = 1; b = 1; d = 3.14; x = 1; t = 1; lamda = 0.5; i = 1; j = 1;
for N = drange(5,5,50) [h,phi1,phi2,Wi,wi,Wj,wj,tj,m,n,p,r,K1,K3,K2,Kn,En,Un,E,S,Use] = divine(alpha,d,a,b,i,j,x,t,lamda) end

Respuesta aceptada

Oleg Komarov
Oleg Komarov el 30 de Mayo de 2011
Check with ver that the Parallel Computing Toolbox is listed, if not it is not installed.

Más respuestas (0)

Categorías

Más información sobre Parallel for-Loops (parfor) en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by