On Wed, Sep 5, 2012 at 6:47 PM, Olaf Till <i7t...@t-online.de> wrote: > On Wed, Sep 05, 2012 at 03:11:37PM +0200, davide prandi wrote: >> >> Thanks to everyone.I had already tried to change the variable's >> order with '@', but the method solves a SYSTEM of differential >> equations. I give you an example: >> [T,Y]=ode23s(@fun, [0 5], [1 2 3]); >> where 'fun' is a vector of equations: >> function >> Fv=fun(Y,t)Fv(1,1)=2*Y(1)+Y(2)+5*Y(3)+exp(-2*t);Fv(2,1)=-3*Y(1)-2*Y(2)-8*Y(3)+2*exp(-2*t)-cos(3*t);Fv(3,1)=3*Y(1)+3*Y(2)+2*Y(3)+cos(3*t); >> >> The problem is: all of ode solvers take in input function in >> fun(t,Y) form. dfxpdp computes jacobian matrix with function in >> fun(Y,t) form.Obviously fun(t,Y) is user-defined, and I've to find a >> way to convert fun(t,Y) in fun(Y,t) form. When this problem is >> fixed, I can upload the .m file. Thanks, Davide > > I thought my previous post would show you how to solve just this > problem. It does not matter whether your method solves a system of > equations as above or only one. > > Olaf > > -- > public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQIcBAEBCAAGBQJQR4IOAAoJEMDkvsXq/gWRREgP/Ai/2JDdm75JUXFWCXx7y+89 > hcNSufcd+H8MkD4m4CsXcD0R8dOytAYEnhApciMmVzZqnVpqQNnv7ZhvKTMy1GRG > knUVdfsQI+bulXsr/U60hgNtQFCqTRnePM5LtjpsB1kC3VLfepRHxRGNtCXqLs2U > 4hGU9fPliAPaADhwje63exj4HjGS/AeuD0uhE6mgGC4uvcg8PBuPNPjMEspvpwL1 > T0qARmzQ/xkgtVVnMTKqdrKsaJPvFhawLLFIMRLt4+qqRXJI/tgFLqFdWk+6aHOo > RI+lTBiWfrR2Y3cX/IRuH/65QCvTmPiHsmNXzw6eauY5bEReOqHARBgC8whDynrF > k/Mn10S0oVt+8bLSwgjCztXQJoeKaQEUgPfp1CwFQFdcqUFqioA2KL8ZB+3BSun5 > dvhiFIu0WlUfMC4M09Ol8MPNSGQKxiM5VF1xMIe7IFJC81yzQ8c8T8NnncofKZmn > zm+6l42LddLdBGIAs+nCVDTqjYKaO295NRKrsLEAoJ/lkWs85C3+tST/9uAUSJtM > mi+epFwzzERYzLoINmfnzGL2jaxBuWF3sQAhs17G9cvR2le/pRvI09IfeyZjCPwR > xY6auBmTf5IAWkXA0tRtGJch3QwXXeSqUYQw405jdjEqWaG1E/QISAxWN9N1HqWN > sVURSQ/rQAFixI7lRCAd > =wiZo > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Octave-dev mailing list > Octave-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/octave-dev >
Hi davide, Please use the forum to upload files, in that way we can track it better. @Martin Helm: It would be nice to suggest the use of the forum and not the mailing list to send files, specially because sometimes the files get lost. If we upload to the forum we can have the different versions and the accumulated comments. Check this example http://sourceforge.net/tracker/?func=detail&aid=3420882&group_id=2888&atid=352888 Soon we will have Agora to centralize all this. -- M. Sc. Juan Pablo Carbajal ----- PhD Student University of Zürich http://ailab.ifi.uzh.ch/carbajal/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev