in reply to Why dies this work in matlab and not PDL?

My maths is a bit poor, but are the dimensions of the matrices incorrect for multiplication? I seem to remember if you write down [ rows : columns ] x [ rows : columns ] then the two inner numbers have to be the same.

In this case:

[ 71 : 35] x [ 35 : 7 ] x [ 35 : 35 ] x [ 35 : 7 ]

So, the B x C operation doesn't work. Have you tried replacing these by square matricies all of the same size, or just doing A x B x D?