[scilab-Users] I think I have found a bug - an "incomparable" number.

leszek.luchowski at iitis.gliwice.pl leszek.luchowski at iitis.gliwice.pl
Mon Mar 15 14:08:27 CET 2010


> sx=spec(A)
> if real(sx(1))>0.0
> "Positive"
> end
>
>
> there are some spurious imaginary parts, likely.

Thank you a lot for the answer. It works, but something strange is
happening here: when the value of sx(1) is displayed, there is no mention
of any imaginary part. And when I type


imag(sx(1))

I get zero as the reply.

I also tried

1/imag(sx(1))

then the reply is

              !--error 27
division by zero...

Any ideas?



More information about the users mailing list