implant non linear model using matlab

may I ask how can I create a nonlinear functions manually using simulink or .m

 採用された回答

Hoai Tran Quoc
Hoai Tran Quoc 2016 年 10 月 7 日
編集済み: Hoai Tran Quoc 2016 年 10 月 7 日

0 投票

You'd better give one example (one formula) which you want to create.

4 件のコメント

mansour sabra
mansour sabra 2016 年 10 月 7 日
編集済み: Walter Roberson 2016 年 10 月 7 日
it's very simple example
dx1=-x1+x1x2+u
dx2=2x1-3x2
y=(1 0)x
Walter Roberson
Walter Roberson 2016 年 10 月 7 日
Is dx1 intended to represent the derivative of x1? If so then is part of the task to figure out what the function is? Something like
syms x1(t) x2(t) u
eqn = [diff(x1(t),t) == -x1(t) + x1(t)*x2(t) + u; diff(x2(t)) == 2*x1(t)-3*x2(t), x1(0) == 1, x2(0) == 0]
dsolve(eqn)
??
mansour sabra
mansour sabra 2016 年 10 月 7 日
thnak you
Walter Roberson
Walter Roberson 2016 年 10 月 7 日
The above system has no general solution and runs into a singularity at about t = 1.33

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by