Symbolic Math Toolbox | ![]() ![]() |
Syntax
Description
F = ztrans(f)
is the z-transform of the scalar symbol f
with default independent variable n
. The default return is a function of z
.
The z-transform of f
is defined as
where n
is f
's symbolic variable as determined by findsym
. If f = f(z)
, then ztrans(f)
returns a function of w
.
F = ztrans(f,w)
makes F
a function of the symbol w
instead of the default z
.
F = ztrans(f,k,w)
takes f
to be a function of the symbolic variable k
.
Examples
Z-Transform |
MATLAB Operation |
![]() ![]() |
f = n^4
ztrans(f) returns
|
![]() ![]() |
g = a^z
simplify(ztrans(g)) returns
-w/(-w+a) |
![]() ![]() |
f = sin(a*n)
ztrans(f,w) returns
w*sin(a)/(w^2-2*w*cos(a)+1) |
See Also
![]() | zeta | Compatibility Guide | ![]() |