Thread Subject: solving differential equation

Subject: solving differential equation

From: mubyartov

Date: 14 Aug, 2007 18:48:22

Message: 1 of 3

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

Subject: solving differential equation

From: Nasser Abbasi

Date: 14 Aug, 2007 20:02:08

Message: 2 of 3


"mubyartov" <maz_moeby@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

Subject: solving differential equation

From: mubyartov

Date: 16 Aug, 2007 19:55:00

Message: 3 of 3

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

Tags for this Thread

Everyone's Tags:

ode

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
ode Ned Gulley 16 Aug, 2007 18:05:08
rssFeed for this Thread

Contact us at files@mathworks.com