MathGroup Archive 1999

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

Search the Archive

Question: getting list data into a matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17225] Question: getting list data into a matrix
  • From: Ben Johnson <bdjohns1-usenet at uiuc.edu>
  • Date: Mon, 26 Apr 1999 01:20:55 -0400
  • Organization: University of Illinois at Urbana-Champaign
  • Sender: owner-wri-mathgroup at wolfram.com

I'm trying to convert some equations from a list into a matrix to solve.
(I'm in a linear algebra class, and I don't want to use the Solve[]
instruction to do it).

The data is in a list that looks like this:

{2 a[1]+3 b[1]+4 c[1]==0, 2 a[2]+4b[6]==24} etc.  

There's 24 independent
variables, a[1] through d[6], which need to have the left-hand side read
into a 24x24 matrix, (let's call it A), and a 24 element vector 
taken from the right-hand side (call it Y), so that taking Inverse[A].Y 
will give me my unknowns.

Any help would be appreciated.  Please reply to bdjohns1 at uiuc.edu - my
header address will work, but it's a spam-trap.

Thanks in advance for any help.


-- 
Ben Johnson
bdjohns1-usenet at uiuc.edu
(remove -usenet to reply)


  • Prev by Date: Counters to Cell Tags?
  • Next by Date: Re: AxesFront
  • Previous by thread: Counters to Cell Tags?
  • Next by thread: Re: Question: getting list data into a matrix