Solving a first order differential equation

7 ビュー (過去 30 日間)
Rahal Rodrigo
Rahal Rodrigo 2021 年 4 月 15 日
コメント済み: Rahal Rodrigo 2021 年 4 月 15 日
How do you enter a condition in similar syntax to the one below in MATLAB. I am using dsolve with conditions and am having trouble entering a smilar condition into the software. Any advice would be greatly apreciated.

採用された回答

Cris LaPierre
Cris LaPierre 2021 年 4 月 15 日
See this example. I've copied/modified the relevant parts below.
syms y(t)
Dy = diff(y,t);
cond = Dy(2)==3;
ySol(t) = dsolve(eqn,cond)
  1 件のコメント
Rahal Rodrigo
Rahal Rodrigo 2021 年 4 月 15 日
Works perfectly. Thanks alot!

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by