フィルターのクリア

Imposing a constraint on a set of ode's

4 ビュー (過去 30 日間)
Yazan Ahed
Yazan Ahed 2016 年 8 月 29 日
編集済み: Yazan Ahed 2017 年 1 月 8 日
Say I want to solve the following set of ode's:
dx_i/dt = f1(x_i,y);
dy/dt = f2(x_i,y);
subject to: sum(a_i*x_i) = 0;
How would you code such condition?
  1 件のコメント
Torsten
Torsten 2016 年 8 月 29 日
編集済み: Torsten 2016 年 8 月 29 日
Choose x1(0)=x2(0)=x3(0)=0 as initial conditions for x1, x2 and x3.
Then your constraint is satisfied.
And my proposition is that if
[a1 a3 a2], [a2,a1,a3] and [a3 a2 a1] are linearly independent vectors, this is the only solution.
Best wishes
Torsten.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by