Matrix as a variable
- To: mathgroup at smc.vnet.net
- Subject: [mg38789] Matrix as a variable
- From: smellykitkat at yahoo.com (Phoebe)
- Date: Sun, 12 Jan 2003 06:17:24 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
This is a simple question... but couldn't find the answer.
I am trying to solve some symbolic matrix equations.
Take a==b.c
where
a is 2x1 unknowns
b \!\(\*FormBox[
RowBox[{"b", "=",
RowBox[{"(", GridBox[{
{"1", "2"},
{"3", "4"}
}], ")"}]}], TraditionalForm]\)
and c us 2x1 unknown.
Is it possible to tell mathematica that a and c are matrix variables?
and have a statement SolveEquation[a == b.c, c[[1]]].
with out putting variables in each of the matrix elements
as in
\!\(\*FormBox[
RowBox[{"a", "=",
RowBox[{"(", GridBox[{
{"x"},
{"y"}
}], ")"}]}], TraditionalForm]\)
\!\(\*FormBox[
RowBox[{"c", "=",
RowBox[{"(", GridBox[{
{"e"},
{"f"}
}], ")"}]}], TraditionalForm]\)
, SolveEquation[a == b.c, e].
Thanks