Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Matrices and ODE

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129789] Matrices and ODE
  • From: snowyphile <dtorney at valornet.com>
  • Date: Wed, 13 Feb 2013 04:52:13 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

I'm using NDSolve to solve a'[t]=f(a[t]), where a is a square matrix.  On the right-hand side, how do I access elements of a[t]?  a[t][[i,j]], doesn't work, and I can't guess the right syntax.  ((0,0,1,0).a[t].(0,0,1,0) works but is not compact.)



  • Prev by Date: Re: problems with plots aligning
  • Next by Date: Reading a file in reverse order --- How?
  • Previous by thread: Getting the output of DSolve to look nicer
  • Next by thread: Reading a file in reverse order --- How?