How to take the time t of ode to a new variable?

조회 수: 1 (최근 30일)
ding
ding 2012년 7월 17일
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

답변 (1개)

Miro
Miro 2012년 7월 17일
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

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by