help-octave
[Top][All Lists]
Advanced

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

Re: problem with acos


From: zampala
Subject: Re: problem with acos
Date: Wed, 29 Jul 2009 09:34:12 -0700 (PDT)

>
> | > Apparently your matrix P has some small imaginary components.  Try
> | >
> | >   format long
> | >   P
> | >
> | > so that they will be displayed.
> | 
> | I tried that, but still a long series of zero. However,
> | octave:39> isreal(P(1,2))
> | ans = 0
>
> What does
>
>   imag (P) == 0
>
> show you?
>
> jwe
>

This is what I get

octave:309> imag (P) == 0
ans =

   1   1
   1   1

I suppose the imaginary part is there, although small.
I'm wondering if setting a very small number to zero is correct and,
ultimately, this will affect my results on which I have no clue of what they
should look like
-- 
View this message in context: 
http://www.nabble.com/problem-with-acos-tp24698044p24723052.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]