FREDHOLM INTEGRO-DIFFERENTIAL EQUATIONS using SINC-COLLOCATION PROCEDURE
4 次查看(过去 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
0 个评论
采纳的回答
Oleg Komarov
2011-5-30
Check with ver that the Parallel Computing Toolbox is listed, if not it is not installed.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!