MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Using the ODE solver in a FOR loop 

Subject: Using the ODE solver in a FOR loop From: Meiyour Date: 15 Jul, 2013 13:02:10 Message: 1 of 12 
Hi. I need some help with the ODE15 solver. 
Subject: Using the ODE solver in a FOR loop From: Torsten Date: 15 Jul, 2013 13:46:08 Message: 2 of 12 
"Meiyour" wrote in message <ks0rsi$3k3$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Meiyour Date: 15 Jul, 2013 15:07:18 Message: 3 of 12 
Actually, i am trying to solve 4 coupled partial differential equations by the method of lines. I have discretized the space derivative, leaving me with 4 ODEs to solve. 
"Meiyour" wrote in message <ks1376$ot5$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Torsten Date: 16 Jul, 2013 06:17:28 Message: 5 of 12 
"Meiyour" wrote in message <ks1376$ot5$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Meiyour Date: 17 Jul, 2013 07:26:12 Message: 6 of 12 
I am trying to solve the coupled equations 
Subject: Using the ODE solver in a FOR loop From: Torsten Date: 17 Jul, 2013 09:31:09 Message: 7 of 12 
"Meiyour" wrote in message <ks5guk$25e$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Torsten Date: 17 Jul, 2013 11:55:07 Message: 8 of 12 
"Meiyour" wrote in message <ks5guk$25e$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Meiyour Date: 17 Jul, 2013 20:13:12 Message: 9 of 12 
Thanks for your reply, which is similar to what i've actually done. However, i have two questions: 
Subject: Using the ODE solver in a FOR loop From: Marc Date: 18 Jul, 2013 03:18:10 Message: 10 of 12 
"Meiyour" wrote in message <ks6tsn$t8a$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Torsten Date: 18 Jul, 2013 06:27:11 Message: 11 of 12 
"Meiyour" wrote in message <ks6tsn$t8a$1@newscl01ah.mathworks.com>... 
Subject: Using the ODE solver in a FOR loop From: Meiyour Date: 18 Jul, 2013 07:44:11 Message: 12 of 12 
Thanks a lot for your help guys. 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.