[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem in octave



On Mon, 23 Jul 2007 21:38:19 +0530
"Goudar Vishwanathappa Manu" <manu.gvm@gmail.com> wrote:
> Hello
> I don't know whether this is a right place to ask this question. I am
> using octave 2.9.9 version present in Testing. I just tried out the
> following multiplication and was surprised.
> 
> 
> >>a=[3+6i, 1+5i]                   ! complex vector a is defined
> >>a*a'                                  ! It is multiplied by its
> >>conjugate
> ans =  0.50000 + 0.50000i     ! I get this answer
> 
> But I think i should get ' 71' as answer. I don't understand why its
> giving the above one.

You might want to try upgrading to a newer version. 2.9.12 (which is
the one in Debian unstable) gives 71, as expected.

Rupert

P.S. No, I have no idea why this was wrong :)

Attachment: signature.asc
Description: PGP signature


Reply to: