Syntax Questions
- To: mathgroup at smc.vnet.net
- Subject: [mg50731] Syntax Questions
- From: "Dominik Werder" <dwerder at gmx.net>
- Date: Sat, 18 Sep 2004 05:48:37 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
While trying real easy Calculations with mathematica 5 on solaris I encountered difficulties finding the right syntax: Here I try solve some equations and write the four resulting variables a,b,c,d into a new matrix T: s = Solve[{u1 == a v1 + b v2, u2 == c v1 + d v2}, {a, b, c, d}]; a = (a /. s)[[1]]; b = (b /. s)[[1]]; c = (c /. s)[[1]]; d = (d /. s)[[1]]; T = {{a, c}, {b, d}}; I'm sure this could be done easier, but I dont know how? thanks! Dominik
- Follow-Ups:
- Re: Syntax Questions
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Syntax Questions
- From: DrBob <drbob@bigfoot.com>
- Re: Syntax Questions