Re: Please guide me.thanks
- From: "Nasser Abbasi" <nma@xxxxxxxxx>
- Date: Sat, 08 Oct 2005 23:53:42 GMT
"Mehran-Masoudi" <mn_polymer@xxxxxxxxx> wrote in message
news:ef17924.-1@xxxxxxxxxxxxxxxxxxx
>I want to plot a ode in Matlab6.In this ode i have A'' as
> concentration in a reactor and t as time.I want to see how 'A'
> differs with time in three condition as below:
> dA/dt=-k*A with initial value A(0)=1 which means concentration in
> time 0 is one.
> and we have k=.1 & k=1 & k=10.now I want to compare this three plot
> in one figure.
> please help me with ode45.
> thanks alot.
> Mehran.Masoudi
>
There are many examples on how to use ode45 on the net, you can start
by studying there.
I have few basic examples on my web site below, start from exmaple 53.
http://12000.org/my_notes/mma_matlab_control/howto.htm
to compare the result, plot all solution on the same plot. you can use
the command 'hold on' to do that.
Nasser
.
- References:
- Please guide me.thanks
- From: Mehran-Masoudi
- Please guide me.thanks
- Prev by Date: Re: IMAGE PROCESSING - MEDIAN FILTER
- Next by Date: Re: help solving an ODE equation using ode45?
- Previous by thread: Please guide me.thanks
- Next by thread: Slow Database
- Index(es):
Relevant Pages
|
Loading