From: Martin H. <ma...@mh...> - 2012-09-05 17:28:56
|
Am 05.09.2012 19:00, schrieb Juan Pablo Carbajal: > @Martin Helm: It would be nice to suggest the use of the forum and not > the mailing list to send files, I agree, sorry. The intention was just to make a long story short since discussing something abstract without a look at the actual code is always a pain and full of misunderstandings, but could of course also have been done by uploading the first version directly to the tracker. @davide >From a quick look I can't see any reason just to change the line J=dfxpdp(t,x,FUN); as Olaf suggested (and of course change the other fevals to the right order of parameters). If FUN can be a string or a function handle it would be something like J=dfxpdp(t,x,@(a, b) feval(FUN, b, a)); I'll have a closer look after dinner. |