MathGroup Archive 2005

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

Search the Archive

Re: symbolic matrix calculation doesn't work

  • To: mathgroup at
  • Subject: [mg56374] Re: [mg56368] symbolic matrix calculation doesn't work
  • From: "Florian Jaccard" <florian.jaccard at>
  • Date: Sat, 23 Apr 2005 01:16:06 -0400 (EDT)
  • Reply-to: <florian.jaccard at>
  • Sender: owner-wri-mathgroup at

Hello  Jack !

First problem :

If you want T to be a 2x2 matrix, you have to first assign T={{ ... }} , and
afterward you can have a look at the MatrixForm of T.
So you have to write :  (T=...)//MatrixForm, or MatrixForm[T=...] , or
T=...;MatrixForm[T] , but not T=...//MatrixForm, because T would be
considered as the matrixform display of your matrix, and not as the matrix

Second problem :

d is not a matrix, but a vector. So it cannot be transposed. If you want d
to be a 2x1 matrix, you have to write d={{..},{..}} !

So here a corrected code :

MatrixForm[T = (-(2*u)^(-1))*{{1, 1}, {1, 1}}]

MatrixForm[d = {{En1}, {In1}}]

MatrixForm[P = {{0, 1}, {1, 0}}]

a = (1/2)*Inverse[P - T . P . Transpose[Conjugate[T]]] . d .


Last tip : Avoid capital letters...



-----Message d'origine-----
De : Jack [mailto:jack.peng at]
Envoyé : ven., 22. avril 2005 12:26
À : mathgroup at
Objet : [mg56368] symbolic matrix calculation doesn't work

   I am new to Mathematica and I can't seem to get mathematica to
multiply symbolic matrices. Can anyone please help? The notebook file
is at
   Thank you so much. Please reply to xpeng at


  • Prev by Date: Re: Re: Adding new rules to Simplify
  • Next by Date: simplifying ulam spiral code
  • Previous by thread: Re: symbolic matrix calculation doesn't work
  • Next by thread: What's new in .NET/Link 1.2.0?