MathGroup Archive 2013

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

Search the Archive

How to remove the "0." from "0. + 1.41774i"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131236] How to remove the "0." from "0. + 1.41774i"
  • From: Mike Bayville <mike.bayville at gmail.com>
  • Date: Thu, 20 Jun 2013 04:44:52 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

Can anyone suggest a built-in function for removing  the "0." from "0. + 1.41774i"?

Thanks!

Mike

INPUT
A={{-1.2, 1.5}, {-2.3, 1.2}};
Clear[eigenvalue];
{eigenvalue[1], eigenvalue[2]} = Chop[Eigenvalues[A]]
Chop[eigenvalue[1]]
Chop[eigenvalue[2]]

OUTPUT
{0. + 1.41774i, 0. - 1.41774i}
0. + 1.41774i
0. - 1.41774i



  • Prev by Date: Re: Increasing precision in FindRoot
  • Next by Date: How to install all needed software if I don't have a connection on LInux
  • Previous by thread: Re: Increasing precision in FindRoot
  • Next by thread: Re: How to remove the "0." from "0. + 1.41774i"