Is there support for bilateral Z-transform in Mathematica, or a third-party package?


1 Answer 1


One of the nicest things about Mathematica is that one can often just implement the definitions as they are:

bilateralZTransform[c_, k_, z_, opts___] := Sum[c/z^k, {k, -∞, ∞}, opts]

Otherwise, one can exploit the relationship between GeneratingFunction[] and ZTransform[]:

bilateralZTransform[c_, k_, z_, opts___] :=
                    ZTransform[HeavisideTheta[k - 1] c, k, z, opts] +
                    GeneratingFunction[Function[k, c][-k], k, z, opts]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.