MathGroup Archive 2013

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131245] Re: How to remove the "0." from "0. + 1.41774i"
  • From: "Harvey P. Dale" <hpd at hpdale.org>
  • Date: Fri, 21 Jun 2013 05:58:10 -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
  • References: <20130620084452.627F569EF@smc.vnet.net>

	Im[0.+1.41774I] gives 1.41774.
	Best,
	Harvey


-----Original Message-----
From: Mike Bayville [mailto:mike.bayville at gmail.com]
Sent: Thursday, June 20, 2013 4:45 AM
To: mathgroup at smc.vnet.net
Subject: [mg131245] How to remove the "0." from "0. + 1.41774i"

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: How to remove the "0." from "0. + 1.41774i"
  • Next by Date: Windows 8 Problem with Mathematica
  • Previous by thread: Re: How to remove the "0." from "0. + 1.41774i"
  • Next by thread: Re: How to remove the "0." from "0. + 1.41774i"