Borrar filtros
Borrar filtros

How to plot function S over time and X over time

1 visualización (últimos 30 días)
YU ZHU
YU ZHU el 30 de En. de 2018
Respondida: Gaurav Phatnani el 2 de Feb. de 2018
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 comentarios
YU ZHU
YU ZHU el 30 de En. de 2018
the initial condition is X0=1 S0=1.5
Birdman
Birdman el 30 de En. de 2018
Is there any solution for x and s?

Iniciar sesión para comentar.

Respuestas (1)

Gaurav Phatnani
Gaurav Phatnani el 2 de Feb. de 2018
Hi Tu,
The following documentation page demonstrates how to solve a system of differential equations in MATLAB and plot the results.

Community Treasure Hunt

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

Start Hunting!

Translated by