Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: how do I display "Power[z,-1]" in an exponetial form?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50686] Re: how do I display "Power[z,-1]" in an exponetial form?
  • From: p-valko at tamu.edu (Peter Valko)
  • Date: Fri, 17 Sep 2004 01:15:50 -0400 (EDT)
  • References: <ci8mqm$bt3$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

dumstuck at gmx.ch (dumstuck at gmx.ch) wrote in message news:<ci8mqm$bt3$1 at smc.vnet.net>...
> In the field of DSP engineering we like keeping the expression "1/z"
> in the form of "z minus one", namly in a exponential form. Both the "z
> minus one" and "1/z" has the same "FullForm", namely "Power[z,-1]".
> But they both get displayed in a fractional form. how could I change
> that way of diplaying "Power[z,-1]"?



One simple way might be:

exp = 3 a^2  z^(-1);

StringReplace[ToString[exp /. Power[z_, -1] -> Power[z, mone]], "mone"
-> "-1"] // OutputForm

(but then the response will be a string and you cannot process it
further.)

Peter


  • Prev by Date: Re: Sum question and general comment
  • Next by Date: problem rendering GIF formatted files
  • Previous by thread: how do I display "Power[z,-1]" in an exponetial form?
  • Next by thread: Re: how do I display "Power[z,-1]" in an exponetial form?