FREDHOLM INTEGRO-DIFFERENTIAL EQUATIONS using SINC-COLLOCATION PROCEDURE

조회 수: 1 (최근 30일)
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

채택된 답변

Oleg Komarov
Oleg Komarov 2011년 5월 30일
Check with ver that the Parallel Computing Toolbox is listed, if not it is not installed.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by