|
On 15 Agu, 03:02, "Nasser Abbasi" <n...@12000.org> wrote:
> "mubyartov" <maz_mo...@yahoo.co.id> wrote in message
>
> news:1187117302.192066.160860@z24g2000prh.googlegroups.com...
>
> >i would like to know how to solve my problem with matlab. My problem
> > is
>
> > u' = -u - c (constant), with u(0) = 0
>
> > thanks for help
>
> > Mubyartov
>
> I assume you are looking for a numerical solution.
>
> numerically, you can use ode45, here is an example on my web page
>
> http://12000.org/my_notes/mma_matlab_control/e53/HTML/e53.htm
>
> analytically, if you have the symbolic toolbox, you can use that. You might
> need the extended symbolic toolbox.
>
> Nasser
Yes, you're right. I am really looking for a numerical solution.
i have read from the example on your webpage. From this example i know
that
u' = -u - c has the same form with y' = 3y with c = 0. so it can
solve with ode45, is it right?
Thank you very much for the help
Mubyartov
|