필터 지우기
필터 지우기

Solving a first order differential equation

조회 수: 3 (최근 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)

추가 답변 (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