ODE Initial value problem

조회 수: 13 (최근 30일)
SilenceSSS
SilenceSSS 2017년 3월 8일
답변: Star Strider 2017년 3월 8일
Solve the following differential equation on t∈[0,5]
dy/dt=-10.8*y;
y(0)=1;

답변 (1개)

Star Strider
Star Strider 2017년 3월 8일
With the plot, it takes 5 lines of code.
Give it a go! See the documentation for ode45 for valuable and relevant information. Also see the section in the documentation for Function Basics on Anonymous Functions.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by