"Sanaa" wrote in message <email@example.com>... > "Torsten" wrote in message <firstname.lastname@example.org>... > > "Sanaa" wrote in message <email@example.com>... > > > Hi all, > > > I downloaded PECE method matlab code written by Roberto Garrappa > > > for solving nonlinear fractional order differential equations. I tried to implement the code several times but I failed. Is there any demo on how to use it? > > > I understand the explanation inside the code, but how do I define FDEFUN? > > > For instant I have a system of nonlinear fractional order differential equations which will be defined in an m file as FDEFUN, how I define it???? > > > Any help is really appreciated. > > > Many thanks in advance > > > > Three test problems are available here: > > http://www.dm.uniba.it/nagb/?q=node/17 > > > > Best wishes > > Torsten. > > Thank you very much for your kind reply. I know how to do that with ''inline functions'', however, I don't know how to define a system with different fractional-orders!
In the above code, the fractional order must be the same for all equations of your system of FDEs.