由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - MATLAB differential equation question
相关主题
在matlab中,如何提高ode45的求解速度呢?matlab求ODE的数值解
Mathematica数值求解Differential Equations的问题Help: How to write mex file for Fortran in Matlab?
Mathematica Problem: NDSolve:如何避免常微分方程组出现stiff情况呢?
谁有数值解两个(2D)Ito SDE的经验啊?hey guys, what is St. Venant's differential equat
Analytic solution for an ODEAnyone has this book?
在线等:紧急求助Matlab高手(ODE问题)请教:如何用least square approach解超定方程组
如何用MATLAB 解这个问题??[转载] 大家看这个方程组用什么软件解
[help]should I switch from Matlab to C?matlab 能不能解符号矩阵方程? (转载)
相关话题的讨论汇总
话题: matlab话题: equation话题: question话题: ode
进入Computation版参与讨论
1 (共1页)
b*****g
发帖数: 38
1
I have an equation:
dz/dt = (1-z)-S(t)z
How to solve it using MATLAB?
Seems pretty easy, but I can't get the correct wave shape. So frastrated.
Anyone can help me. Thank you.
c*******e
发帖数: 8624
2
Depends on the boundary conditions
if z @ t=0 and z' @ t=0 are defined, just go straightforward.
if z @ t=0 and z @ t=T are defined, using shooting method.

【在 b*****g 的大作中提到】
: I have an equation:
: dz/dt = (1-z)-S(t)z
: How to solve it using MATLAB?
: Seems pretty easy, but I can't get the correct wave shape. So frastrated.
: Anyone can help me. Thank you.

P****S
发帖数: 2286
3

It is first order ODE and only needs one initial condition. For example if you
know z(0), then z'(0)=(1-z(0))-S(0)*z(0).
Matlab has ODE solvers.You can read the Users Guide for details. You can also
develop your own solver.

【在 c*******e 的大作中提到】
: Depends on the boundary conditions
: if z @ t=0 and z' @ t=0 are defined, just go straightforward.
: if z @ t=0 and z @ t=T are defined, using shooting method.

1 (共1页)
进入Computation版参与讨论
相关主题
matlab 能不能解符号矩阵方程? (转载)Analytic solution for an ODE
用Matlab的fzero解这个单变量非线性方程,总是报错?在线等:紧急求助Matlab高手(ODE问题)
请教如何用MATLAB去fit一个多项式?如何用MATLAB 解这个问题??
Any quick solution for this equation in Matlab?[help]should I switch from Matlab to C?
在matlab中,如何提高ode45的求解速度呢?matlab求ODE的数值解
Mathematica数值求解Differential Equations的问题Help: How to write mex file for Fortran in Matlab?
Mathematica Problem: NDSolve:如何避免常微分方程组出现stiff情况呢?
谁有数值解两个(2D)Ito SDE的经验啊?hey guys, what is St. Venant's differential equat
相关话题的讨论汇总
话题: matlab话题: equation话题: question话题: ode