Message Boards Message Boards

[✓] Displaying negative exponents in outputs expressions?

GROUPS:

While the expressions 1/z^2 and z^-2 are equivalent, in many signal processing applications the z^-2 form is more useful. However Mathematica will usually express the form as 1/z^2. Is there a way to force Mathematica to display the alternative form?

POSTED BY: Jesse Sheinwald
Answer
7 months ago

One way could be to inactivate Power:

1/z - x/y^2 /. Power -> Inactive[Power]
POSTED BY: Gianluca Gorni
Answer
7 months ago

Good approach. Thank you.

POSTED BY: Jesse Sheinwald
Answer
7 months ago

Group Abstract Group Abstract