Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Thread::tdlen: Objects of unequal length

  • To: mathgroup at
  • Subject: [mg121878] Thread::tdlen: Objects of unequal length
  • From: SysInv <johan at>
  • Date: Wed, 5 Oct 2011 04:04:36 -0400 (EDT)
  • Delivered-to:

This problem is driving me crazy. I'm trying to multiply matrices, where one is 1x4 (s) and the other is 4x4 (t) and the multiplication is s*t*Transpose[s]

Despite this I get the error message that the objects is of unequal length. The matrices are:



I must use double level in the 1 row matrix, since otherwise Transpose[] complains that it needs at least 2 levels. I tried without this as well, but I keep getting:

Thread::tdlen : Objects of unequal length in {{x1,x2,x3,x4}}{{0.0284435,0.00395759,0.000211963,0.0357403},<<2>>,{<<10>>,<<3>>}}{{x1},{x2},{x3},{x4}} cannot be combined. >>

. when I run s*t*Transpose[s].

I've spent hours trying to figure this simple problem out, but without any luck. Any pointers guys? It doesn't help if I change the order of the transpose...

  • Prev by Date: Re: Solving a simple equation
  • Next by Date: Re: Solving a simple equation
  • Previous by thread: NumberMultiplier usage
  • Next by thread: Re: Thread::tdlen: Objects of unequal length