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