MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to remove part of ODE solution containing (0.+0.i)'s


Use Chop[] (see help browser for details)

In[]:=
Chop[0. + 0. I]

Out[]=
0

In[]:=
Chop[{1. + 0.7*I, 0. + 0.*I}]

Out[]=
{1.\[InvisibleSpace] + 0.7 \[ImaginaryI], 0}


Regards,				 
         Mihajlo Vanevic
         www.mihajlo.greatnow.com
         2003-11-19

**************************************************************
*    At 2003-11-19, 04:59:00 
*        John Jansen, Johh at Jansen.net  wrote:
**************************************************************
>Hi Group,
>
>When solving an ODE i get the correct result, but a lot of (0.+0.i) 
>expressions are included. How can i tell Mathematica(V5) to discard 
>these "nearly" zero's. Guess it is something about precision or accuracy.
>
>Best regards (Mathematica-newbee)
>John
**************************************************************




  • Prev by Date: Re: filled plot on part of x-interval
  • Next by Date: PrincipalValue of Integral
  • Previous by thread: RE: How to remove part of ODE solution containing (0.+0.i)'s
  • Next by thread: Re: How to remove part of ODE solution containing (0.+0.i)'s