Solving a first order differential equation

1 次查看(过去 30 天)
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)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by