<div dir="ltr">Hi Zied,<div><br></div><div>I had a look at your code but unfortunately my experience with ODEs is very poor.</div><div><br></div><div>However a couple of points that I've found working on similar problems that may help you:</div><div><br></div><div>Generally if the code takes a long time to complete there is probably a much more efficient way to formulate the problem.  Not being familiar with the problem - or any of the supporting knowledge around it - I'm afraid I can't help here but you may be able to figure out a way to change the problem formulation.  Matlab's usually very fast for these kind of algorithms, the art is using them in the right way.  I realise that's not particularity useful but hopefully it's food for thought.</div><div><br></div><div>In my experience the Mathworks application engineers are incredibly knowledgeable and helpful.  Drop them an email (don't be afraid to name drop your supervisor to pique their interest) and hopefully they should be able to point you in the right direction.</div><div><br></div><div>Good luck,</div><div>Thomas</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 3:47 PM, zied hosni <span dir="ltr"><<a href="mailto:zyedhosny@gmail.com" target="_blank">zyedhosny@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys,<br>
I am a PhD student in chemistry at Glasgow Uni and I am using some scripts<br>
written in Matlab.<br>
I have a bug in my code since few weeks and I am looking for someone to<br>
help me to debug it.<br>
I tried to ask some colleagues and to ask in the Matlab forum but this did<br>
not help.<br>
The problem is related to the use of the ode15s in Matlab.<br>
I hope I can find a volunteer to help me.<br>
We can share the code online or we can meet directly.<br>
Thank you in advance.<br>
Zied<br>
<br>
--<br>
Zied HOSNI<br>
Postgraduate research student<br>
The Cronin Group<br>
School of Chemistry<br>
College of Science and Engineering<br>
Joseph Black Building<br>
University of Glasgow<br>
Glasgow, Scotland (UK)<br>
tel.: <a href="tel:%2B44%20141%20330%203435" value="+441413303435">+44 141 330 3435</a><br>
<a href="http://croninlab.com" rel="noreferrer" target="_blank">http://croninlab.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.electronclub.org/pipermail/members/attachments/20160923/3f24f2a5/attachment.html" rel="noreferrer" target="_blank">http://www.electronclub.org/<wbr>pipermail/members/attachments/<wbr>20160923/3f24f2a5/attachment.<wbr>html</a>><br>
</blockquote></div><br></div>