Re: Help Needed - Solving Linear Initial Value Problem



In article <ef19c10.-1@xxxxxxxxxxxxxxxx>, Pratinayak
<appacherul@xxxxxxxxx> wrote:

> <on maltab>
>
> Of the form: u''' = au'' + bu' + cu, u(t0) = u0, u'(t0) = ud0,
> u''(t0) = uddo. I have to write a function file with input u_vec: =
> [u0 ud0 udd0]' abc_vec: =[a b c]', t0 = initial time, tf = final
> time, n= number of time steps. And output: u - is a row vector of
> size n+1 with the first entry of u being u0 and with the (i+1) the
> entry of u being ui =u(ti) where i =1:100. And t = is a row vector of
> length n+1 containing t0....tn.
>
> i am just stuck at what the argument u_vec and abc_vec will be and
> set. Is it right to set u_vec = [u_vec]'? Similarly for abc_vec.
>
> Also I have to write a script file which will produce a graph of u
> against t. I have not a clue about how to script help..
>
> Any help..?
>
> Thanks

In article <ef19c10.2@xxxxxxxxxxxxxxxx>, Pratinayak <appacherul@xxxxxxxxx>
wrote:

> I thought you people are smart. Oh well, i was wrong.
---------------------
At least part of the reason you got no responses, Pratinayak, is that
your problem looks very much like a homework assignment. You will find
the solution in any standard textbook on linear differential equations,
and you won't even need matlab's 'ode' functions to solve it. That being
the case, I feel you should work it out entirely by yourself and not
expect others in this newsgroup to do it for you.

(Remove "xyzzy" and ".invalid" to send me email.)
Roger Stafford
.