MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: matrix differential equations with NDSolve


Hi,

is

var = Table[y[i][t], {i, 1, 5}];
A = Table[Random[], {5}, {5}];
NDSolve[Join[
    D[var, t] == A.var // Thread,
    (var == Table[Random[], {5}] // Thread) /. t -> 0],
  var, {t, 0, 2}]

so complicated ?

Regards
  Jens

Richard Easther wrote:
> 
> Is there an easy way to solve matrix (ordinary) differential equations
> numerically inside of Mathematica? (The hard way is to spell them out
> term by term, of course)
> 
> It may be I am missing something obvious, but a quick set of
> experiments with NDSolve did not bring any joy....
> 
> Richard Easther


  • Prev by Date: a little more complex list operation
  • Next by Date: waiting command
  • Previous by thread: matrix differential equations with NDSolve
  • Next by thread: Re: matrix differential equations with NDSolve