How to plot function S over time and X over time

I have two function X and S, both are functions of t. And the relationship is this dX/dt=4.5*S*X/(0.5+S) dS/dt=10*S*X/(0.5+S)
is there any way to plot S and X as functions of t using Matlab?

댓글 수: 2

YU ZHU
YU ZHU 2018년 1월 30일
the initial condition is X0=1 S0=1.5
Birdman
Birdman 2018년 1월 30일
Is there any solution for x and s?

댓글을 달려면 로그인하십시오.

답변 (1개)

Gaurav Phatnani
Gaurav Phatnani 2018년 2월 2일

0 개 추천

Hi Tu,
The following documentation page demonstrates how to solve a system of differential equations in MATLAB and plot the results.

질문:

2018년 1월 30일

답변:

2018년 2월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by