How to solve two-order differential equation using ode23

4 ビュー (過去 30 日間)
zhang
zhang 2014 年 3 月 19 日
回答済み: zhang 2014 年 3 月 28 日
like this equation.this equation is a complex matrix,some of my codes is :
function dydt=mytest1(t,x)
exp1=inv(M)*f;
dydt=[x(4);x(5);x(6);exp1];
I use the ode23 function to sover it.,but I get this error:
Error using odearguments (line 111)
Inputs must be floats, namely single or double.
Error in ode23 (line 113)
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs, odeFcn, ...

採用された回答

zhang
zhang 2014 年 3 月 28 日
I know how to sove it ,however thanks

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by