How to take the time t of ode to a new variable?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,everyone,I have a question to require you, the differential equation is D(X'')+C(X')+G=u,where u is a known nonlinear curve,D,C,G are constant parameters.I use ode to solve the equation,when I use time t to fit u of the equation,I can nearly get the rough answer of X with t. my question is:if I do not fit u of the equation, and set the time interval to get the curve's pot,and solve the equation step by step, for example,I get u curve's pot of the time [0,0.0002,0.0004,0.0006...], and solve the equation step by step,how can i realize the final answer?Look forward to your reply! Thanks very very much!
yours ding
0 Kommentare
Antworten (1)
Miro
am 17 Jul. 2012
hi, so as far as i understood you want to minimize the function. So what wou need to do is using the matlab fundtion fminsearch for the function D(X'')+C(X')+G-u=0
0 Kommentare
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!