FREDHOLM INTEGRO-DIFFERENTIAL EQUATIONS using SINC-COLLOCATION PROCEDURE

8 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by