Re: Please guide me.thanks



Nasser Abbasi wrote:
>
>
>
>
> "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
>
> Hello

> I just want to say thank you a lot.
that s vry nice of you.
with regards
Mehran.
>
>
.



Relevant Pages

  • Re: Please guide me.thanks
    ... >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' ... There are many examples on how to use ode45 on the net, ... plot all solution on the same plot. ...
    (comp.soft-sys.matlab)
  • Re: ODE solver
    ... > solution/function to an ODE instead of graphing the solution? ... can plot them. ...
    (comp.soft-sys.matlab)
  • Re: LOG of a solution of ODE plotted against its parameter
    ... I can see how it will be possible to solve the ode many times while ... varying the parameter a. ... But I need to plot the Logagainst the values of a used to generate ... This ODE is supposed to have bistability over that range of parameters. ...
    (sci.math)
  • LOG of a solution of ODE plotted against its parameter
    ... I can see how it will be possible to solve the ode many times while ... varying the parameter a. ... But I need to plot the Logagainst the values of a used to generate ... This ODE is supposed to have bistability over that range of parameters. ...
    (sci.math)
  • question re. ode45 Events and OutputFcn
    ... If I need to make a simple plot each time a certain event occurs ... I was stuck at making the events function before, ... occurs while ode45 is producing y values). ... And from where/how can the integration then be resumed? ...
    (comp.soft-sys.matlab)

Loading