13.6.1 Z-transform of a sequence
The Z-transform of a sequence a0, a1, …, an, … is the
function
For example, the Z-transform of the sequence 0, 1, 2, 3, … is
which has closed form
The ztrans command
finds the Z-transform of a sequence.
-
ztrans takes one mandatory and two optional arguments:
-
ax, a formula with a variable for the general
term of a sequence.
- Optionally, x, the variable (by default x).
- Optionally, z, a variable to be used by the resulting
function.
ztrans(ax ⟨,x,z⟩) returns the
Z-transform of the input sequence.
Examples
To find the Z-transform of the identity function:
With n as the original variable and z as the transform variable:
Find the Z-transform of the constant function f(x)=1:
Indeed:
You also have
Note that differentiating both sides of
gives you
and so, multiplying both sides by z,
as indicated in the previous example.