Inverse Z Transform in Matlab Programming

MATLAB Illustration

Introduction

In digital signal processing (DSP), the Z-Transform is a powerful mathematical tool used to analyze and design discrete-time systems. It provides a way to represent digital signals in the frequency domain. However, to interpret and implement the actual system behavior, we often need to convert the signal back to the time domain — which is done using the Inverse Z-Transform.

In MATLAB, this process is simple using the iztrans() function from the Symbolic Math Toolbox.


???? What Is the Inverse Z-Transform?

The Inverse Z-Transform converts a function from the Z-domain (frequency domain for discrete systems) back to the time domain (sequence form).

If:

X(z)=Z{x[n]}X(z) = mathcal{Z}{x[n]}

then:

x[n]=Z−1{X(z)}x[n] = mathcal{Z}^{-1}{X(z)}

This allows us to find the discrete-time sequence corresponding to a given Z-domain function — crucial for system response and filter design.


?? MATLAB Function for Inverse Z-Transform

The syntax of the inverse Z-transform in MATLAB is:

 
iztrans(F)

or

 
iztrans(F, z, n)
  • F → symbolic expression in Z-domain

  • z → Z variable

  • n → discrete-time index variable


???? Example 1: Basic Inverse Z-Transform

Let’s find the inverse Z-transform of:

X(z)=zz−0.5X(z) = frac{z}{z - 0.5}

MATLAB Code:

 
syms z n X = z / (z - 0.5); x = iztrans(X, z, n)

Output:

 
x = (0.5)^n

? This represents a geometrically decaying sequence — typical of stable discrete-time systems.


???? Example 2: Polynomial Z-Function

Find the inverse Z-transform of:

X(z)=z2z2−1.5z+0.5X(z) = frac{z^2}{z^2 - 1.5z + 0.5}

MATLAB Code:

 
syms z n X = z^2 / (z^2 - 1.5*z + 0.5); x = iztrans(X, z, n)

Output:

 
x = (1.0)^n + (0.5)^n

This sequence is a combination of two exponential signals — often seen in second-order systems.


???? Example 3: Using Symbolic Coefficients

You can also use symbolic constants for general expressions.

 
syms z n a X = z / (z - a); x = iztrans(X, z, n)

Output:

 
x = a^n

This provides a generalized form of an exponential discrete-time sequence.


???? Visualization in MATLAB

You can visualize the resulting time-domain sequence using the stem() function:

 
n = 0:10; x = (0.5).^n; stem(n, x, 'filled') title('Discrete-Time Sequence from Inverse Z-Transform') xlabel('n') ylabel('x[n]') grid on

? The plot shows a decaying exponential sequence, representing the system’s time-domain behavior.


???? Key Takeaways

  • Use iztrans() to compute inverse Z-transforms in MATLAB.

  • Converts Z-domain functions to time-domain sequences.

  • Essential in digital signal processing (DSP) and filter analysis.

  • Combine with stem() for visual interpretation of discrete sequences.

  • Supports symbolic computation for flexible analysis.


? Conclusion

The Inverse Z-Transform in MATLAB is a key step in analyzing discrete-time systems. With the iztrans() function, engineers and researchers can quickly convert complex Z-domain representations back into meaningful time-domain sequences — providing valuable insights for DSP, control, and communication system design.

What Our Students Say

★★★★★

“I got full marks on my MATLAB assignment! The solution was perfect and delivered well before the deadline. Highly recommended!”

Aditi Sharma, Mumbai
★★★★☆

“Quick delivery and excellent communication. The team really understood the problem and provided a great solution. Will use again.”

John M., Australia

Latest Blogs

Explore how MATLAB Solutions has helped clients achieve their academic and research goals through practical, tailored assistance.

AI Sovereignty & Governance: What Does Responsible AI Mean for Engineers?

Introduction Not long ago, AI governance was a topic reserved for policy rooms and ethics co

Most Trending Topics in MATLAB Simulation in 2026

MATLAB and Simulink continue to be powerful tools for modeling, simulation, and system design across engineering domains. From electric vehicles to smart grids and AI-driven automation, MATLAB simulation is playing a critical role in modern research and industry ap