Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

differential equations matlab

Status
Not open for further replies.

cedance

Advanced Member level 2
Joined
Oct 24, 2003
Messages
551
Helped
30
Reputation
60
Reaction score
7
Trophy points
1,298
Location
Germany
Activity points
4,622
Hi,

i programmed a model in matlab which requires solving differential equations numerically. i used the commands

options = odeset('AbsTol',1e-20,'RelTol',1e-4);
[t y] = ode15s(@odes, [t1 t2], icval1, options);

and wrote the eqns. I have attached the results where i expect a difference. In the image 1.jpg, there are 2 graphs. However, if you see the second graph, it starts from its initial value (concentration) and then starts to reduce (tremendously) before it increases... and i dont have an explanation or expectation of this result. The top one seems pretty straight and is what it should look like. I also have attached them separately and showed my expected result in the figure 2.jpg for better clarity. Does anyone know if this could be an implication of numerical solutions to Diff. eq??

thank you,
cedance.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top