Page 1 of 1

Left Division of a non-quadratic Matrix

Posted: Mon Oct 19, 2009 10:01 am
by fcscunha
Hi,

i am trying to do the left division of A\B, where A is mXn and m is higher than n and B is 1X1.

how can i do that?

Many thanks in advance!

Re: Left Division of a non-quadratic Matrix

Posted: Mon Oct 19, 2009 10:52 am
by EViews Gareth
I think what you're asking for (and I'm not 100% certain it is what you're asking) is for the division of a scalar(B) by a matrix(A). Unfortunately EViews won't do this. However you can get around it by creating a matrix of the same size as A, filling it with the scalar (B), then performing element by element division:

Code: Select all

matrix(m,n) Bmat Bmat = B matrix result = @ediv(Bmat,A)

Re: Left Division of a non-quadratic Matrix

Posted: Tue Oct 20, 2009 6:24 am
by fcscunha
Thanks