Clear Filters
Clear Filters

FREDHOLM INTEGRO-DIFFERENTIAL EQUATIONS using SINC-COLLOCATION PROCEDURE

2 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Categories

Find more on Parallel for-Loops (parfor) in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!