Z-transform: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Citation bot
Altered pages. | Use this bot. Report bugs. | Suggested by Headbomb | Linked from Wikipedia:WikiProject_Academic_Journals/Journals_cited_by_Wikipedia/Sandbox | #UCB_webform_linked 1156/1214
imported>Quondum
Region of convergence: rm underscore
 
Line 1: Line 1:
{{Short description|Mathematical transform which converts signals from the time domain to the frequency domain}}
{{short description|Linear transform from the time domain to the frequency domain}}
{{distinguish|Fisher z-transformation}}
{{distinguish|Fisher z-transformation}}


In [[mathematics]] and [[signal processing]], the '''Z-transform''' converts a [[discrete-time signal]], which is a [[sequence]] of [[real number|real]] or [[complex number]]s, into a complex valued [[frequency-domain]] (the '''z-domain''' or '''z-plane''') representation.<ref name="Mandal 2020 pp. 157–195">{{cite book | last=Mandal | first=Jyotsna Kumar | title=Reversible Steganography and Authentication via Transform Encoding | chapter=''Z''-Transform-Based Reversible Encoding | series=Studies in Computational Intelligence | publisher=Springer Singapore | publication-place=Singapore | year=2020 | volume=901 | isbn=978-981-15-4396-8 | issn=1860-949X | doi=10.1007/978-981-15-4397-5_7 | pages=157–195 | s2cid=226413693 | quote=Z is a complex variable. Z-transform converts the discrete spatial domain signal into complex frequency domain representation. Z-transform is derived from the Laplace transform.}}</ref><ref name="Lynn 1986 pp. 225–272">{{cite book | last=Lynn | first=Paul A. | title=Electronic Signals and Systems | chapter=The Laplace Transform and the ''z''-transform | publisher=Macmillan Education UK | publication-place=London | year=1986 | isbn=978-0-333-39164-8 | doi=10.1007/978-1-349-18461-3_6 | pages=225–272|quote=Laplace Transform and the ''z''-transform are closely related to the Fourier Transform. ''z''-transform is especially suitable for dealing with discrete signals and systems. It offers a more compact and convenient notation than the discrete-time Fourier Transform.}}</ref><ref name="JuryBook">{{Cite book |last=Jury |first=Eliahu Ibrahim |title=Theory and application of the z-transform method |publisher=John Wiley & Sons |year=1964 |location=New York |pages=XIII, 330 s |language=en}}</ref>
In [[mathematics]] and [[signal processing]], the '''Z-transform''' converts a [[discrete-time signal]], which is a [[sequence]] of [[real number|real]] or [[complex number]]s, into a complex valued [[frequency-domain]] (the '''z-domain''' or '''z-plane''') representation.<ref name="Mandal 2020 pp. 157–195">{{cite book | last=Mandal | first=Jyotsna Kumar | title=Reversible Steganography and Authentication via Transform Encoding | chapter=''Z''-Transform-Based Reversible Encoding | series=Studies in Computational Intelligence | publisher=Springer Singapore | publication-place=Singapore | year=2020 | volume=901 | isbn=978-981-15-4396-8 | issn=1860-949X | doi=10.1007/978-981-15-4397-5_7 | pages=157–195 | s2cid=226413693 | quote=Z is a complex variable. Z-transform converts the discrete spatial domain signal into complex frequency domain representation. Z-transform is derived from the Laplace transform.}}</ref><ref name="Lynn 1986 pp. 225–272">{{cite book | last=Lynn | first=Paul A. | title=Electronic Signals and Systems | chapter=The Laplace Transform and the ''z''-transform | publisher=Macmillan Education UK | publication-place=London | year=1986 | isbn=978-0-333-39164-8 | doi=10.1007/978-1-349-18461-3_6 | pages=225–272|quote=Laplace Transform and the ''z''-transform are closely related to the Fourier Transform. ''z''-transform is especially suitable for dealing with discrete signals and systems. It offers a more compact and convenient notation than the discrete-time Fourier Transform.}}</ref><ref name="JuryBook">{{cite book |last=Jury |first=Eliahu Ibrahim |title=Theory and application of the z-transform method |publisher=John Wiley & Sons |year=1964 |location=New York |pages=XIII, 330 s |language=en}}</ref>


It can be considered a discrete-time equivalent of the [[Laplace transform]] (the ''s-domain'' or ''s-plane'').<ref name="Palani pp. 921–1055">{{cite book | last=Palani | first=S. | title=Signals and Systems | chapter=The ''z''-Transform Analysis of Discrete Time Signals and Systems | publisher=Springer International Publishing | publication-place=Cham | date=2021-08-26 | isbn=978-3-030-75741-0 | doi=10.1007/978-3-030-75742-7_9 | pages=921–1055 | s2cid=238692483 | quote=''z''-transform is the discrete counterpart of Laplace transform. ''z''-transform converts difference equations of discrete time systems to algebraic equations which simplifies the discrete time system analysis. Laplace transform and ''z''-transform are common except that Laplace transform deals with continuous time signals and systems.}}</ref> This similarity is explored in the theory of [[time-scale calculus]].
It can be considered a discrete-time counterpart of the [[Laplace transform]] (the ''s-domain'' or ''s-plane'').<ref name="Palani pp. 921–1055">{{cite book | last=Palani | first=S. | title=Signals and Systems | chapter=The ''z''-Transform Analysis of Discrete Time Signals and Systems | publisher=Springer International Publishing | publication-place=Cham | date=2021-08-26 | isbn=978-3-030-75741-0 | doi=10.1007/978-3-030-75742-7_9 | pages=921–1055 | s2cid=238692483 | quote=''z''-transform is the discrete counterpart of Laplace transform. ''z''-transform converts difference equations of discrete time systems to algebraic equations which simplifies the discrete time system analysis. Laplace transform and ''z''-transform are common except that Laplace transform deals with continuous time signals and systems.}}</ref> This similarity is explored in the theory of [[time-scale calculus]].


While the [[continuous-time Fourier transform]] is evaluated on the s-domain's vertical axis (the imaginary axis), the [[discrete-time Fourier transform]] is evaluated along the z-domain's [[unit circle]]. The s-domain's left [[half-plane]] maps to the area inside the z-domain's unit circle, while the s-domain's right half-plane maps to the area outside of the z-domain's unit circle.
While the [[continuous-time Fourier transform]] is evaluated on the s-domain's vertical axis (the imaginary axis), the [[discrete-time Fourier transform]] is evaluated along the z-domain's [[unit circle]]. The s-domain's left [[half-plane]] maps to the area inside the z-domain's unit circle, while the s-domain's right half-plane maps to the area outside of the z-domain's unit circle.
Line 14: Line 14:
{{cite book|url=https://books.google.com/books?id=k8SSLy-FYagC&q=inauthor%3AKanasewich++poles+stability&pg=PA249|title=Time Sequence Analysis in Geophysics|author=E. R. Kanasewich|publisher=University of Alberta|year=1981|isbn=978-0-88864-074-1|pages=186, 249}}</ref><ref>{{cite book  | title = Time sequence analysis in geophysics  | edition = 3rd  | author = E. R. Kanasewich  | publisher = University of Alberta  | year = 1981  | isbn = 978-0-88864-074-1  | pages = 185–186  | url = https://books.google.com/books?id=k8SSLy-FYagC&pg=PA185}}</ref>
{{cite book|url=https://books.google.com/books?id=k8SSLy-FYagC&q=inauthor%3AKanasewich++poles+stability&pg=PA249|title=Time Sequence Analysis in Geophysics|author=E. R. Kanasewich|publisher=University of Alberta|year=1981|isbn=978-0-88864-074-1|pages=186, 249}}</ref><ref>{{cite book  | title = Time sequence analysis in geophysics  | edition = 3rd  | author = E. R. Kanasewich  | publisher = University of Alberta  | year = 1981  | isbn = 978-0-88864-074-1  | pages = 185–186  | url = https://books.google.com/books?id=k8SSLy-FYagC&pg=PA185}}</ref>


The method was further refined and gained its official nomenclature, "the Z-transform," in 1952, thanks to the efforts of [[John R. Ragazzini]] and [[Lotfi A. Zadeh]], who were part of the sampled-data control group at Columbia University. Their work not only solidified the mathematical framework of the Z-transform but also expanded its application scope, particularly in the field of electrical engineering and control systems.<ref>{{cite journal |last1=Ragazzini |first1=J. R. |last2=Zadeh |first2=L. A. |title=The analysis of sampled-data systems |journal=Transactions of the American Institute of Electrical Engineers, Part II: Applications and Industry |date=1952 |volume=71 |issue=5 |pages=225–234 |doi=10.1109/TAI.1952.6371274|s2cid=51674188 }}</ref><ref>{{cite book  | title = Digital control systems implementation and computational techniques  | author = Cornelius T. Leondes  | publisher = Academic Press  | year = 1996| isbn = 978-0-12-012779-5  | page = 123  | url = https://books.google.com/books?id=aQbk3uidEJoC&pg=PA123  }}</ref>
The method was further refined and gained its official nomenclature, "the Z-transform", in 1952, thanks to the efforts of [[John R. Ragazzini]] and [[Lotfi A. Zadeh]], who were part of the sampled-data control group at Columbia University. Their work not only solidified the mathematical framework of the Z-transform but also expanded its application scope, particularly in the field of electrical engineering and control systems.<ref>{{cite journal |last1=Ragazzini |first1=J. R. |last2=Zadeh |first2=L. A. |title=The analysis of sampled-data systems |journal=Transactions of the American Institute of Electrical Engineers, Part II: Applications and Industry |date=1952 |volume=71 |issue=5 |pages=225–234 |doi=10.1109/TAI.1952.6371274|s2cid=51674188 }}</ref><ref>{{cite book  | title = Digital control systems implementation and computational techniques  | author = Cornelius T. Leondes  | publisher = Academic Press  | year = 1996| isbn = 978-0-12-012779-5  | page = 123  | url = https://books.google.com/books?id=aQbk3uidEJoC&pg=PA123  }}</ref>


A notable extension, known as the modified or [[advanced Z-transform]], was later introduced by [[Eliahu I. Jury]]. Jury's work extended the applicability and robustness of the Z-transform, especially in handling initial conditions and providing a more comprehensive framework for the analysis of digital control systems. This advanced formulation has played a pivotal role in the design and stability analysis of discrete-time control systems, contributing significantly to the field of digital signal processing.<ref>
A notable extension, known as the modified or [[advanced Z-transform]], was later introduced by [[Eliahu I. Jury]]. Jury's work extended the applicability and robustness of the Z-transform, especially in handling initial conditions and providing a more comprehensive framework for the analysis of digital control systems. This advanced formulation has played a pivotal role in the design and stability analysis of discrete-time control systems, contributing significantly to the field of digital signal processing.<ref>
Line 26: Line 26:
Interestingly, the conceptual underpinnings of the Z-transform intersect with a broader mathematical concept known as the method of [[generating functions]], a powerful tool in combinatorics and probability theory. This connection was hinted at as early as 1730 by [[Abraham de Moivre]], a pioneering figure in the development of probability theory. De Moivre utilized generating functions to solve problems in probability, laying the groundwork for what would eventually evolve into the Z-transform. From a mathematical perspective, the Z-transform can be viewed as a specific instance of a [[Laurent series]], where the [[sequence]] of numbers under investigation is interpreted as the [[coefficients]] in the (Laurent) expansion of an [[analytic function]]. This perspective not only highlights the deep mathematical roots of the Z-transform but also illustrates its versatility and broad applicability across different branches of mathematics and engineering.{{r|JuryBook}}
Interestingly, the conceptual underpinnings of the Z-transform intersect with a broader mathematical concept known as the method of [[generating functions]], a powerful tool in combinatorics and probability theory. This connection was hinted at as early as 1730 by [[Abraham de Moivre]], a pioneering figure in the development of probability theory. De Moivre utilized generating functions to solve problems in probability, laying the groundwork for what would eventually evolve into the Z-transform. From a mathematical perspective, the Z-transform can be viewed as a specific instance of a [[Laurent series]], where the [[sequence]] of numbers under investigation is interpreted as the [[coefficients]] in the (Laurent) expansion of an [[analytic function]]. This perspective not only highlights the deep mathematical roots of the Z-transform but also illustrates its versatility and broad applicability across different branches of mathematics and engineering.{{r|JuryBook}}


==Definition==
== Definition ==
The Z-transform can be defined as either a ''one-sided'' or ''two-sided'' transform. (Just like we have the [[Laplace transform|one-sided Laplace transform]] and the [[two-sided Laplace transform]].)<ref name="Jackson 1996 pp. 29–54">{{cite book | last=Jackson | first=Leland B. | title=Digital Filters and Signal Processing | chapter=The z Transform | publisher=Springer US | publication-place=Boston, MA | year=1996 | isbn=978-1-4419-5153-3 | doi=10.1007/978-1-4757-2458-5_3 | pages=29–54 | quote= z transform is to discrete-time systems what the Laplace transform is to continuous-time systems. ''z'' is a complex variable. This is sometimes referred to as the two-sided ''z'' transform, with the one-sided z transform being the same except for a summation from ''n'' = 0 to infinity. The primary use of the one sided transform ... is for causal sequences, in which case the two transforms are the same anyway. We will not, therefore, make this distinction and will refer to ... as simply the z transform of ''x''(''n'').}}</ref>
The Z-transform can be defined as either a ''one-sided'' or ''two-sided'' transform. (Just as we have the [[Laplace transform|one-sided Laplace transform]] and the [[two-sided Laplace transform]].)<ref name="Jackson 1996 pp. 29–54">{{cite book | last=Jackson | first=Leland B. | title=Digital Filters and Signal Processing | chapter=The z Transform | publisher=Springer US | publication-place=Boston, MA | year=1996 | isbn=978-1-4419-5153-3 | doi=10.1007/978-1-4757-2458-5_3 | pages=29–54 | quote= z transform is to discrete-time systems what the Laplace transform is to continuous-time systems. ''z'' is a complex variable. This is sometimes referred to as the two-sided ''z'' transform, with the one-sided z transform being the same except for a summation from ''n'' = 0 to infinity. The primary use of the one sided transform ... is for causal sequences, in which case the two transforms are the same anyway. We will not, therefore, make this distinction and will refer to ... as simply the z transform of ''x''(''n'').}}</ref>


=== Bilateral Z-transform ===
=== Bilateral Z-transform ===
Line 36: Line 36:
|equation = <math>X(z) = \mathcal{Z}\{x[n]\} = \sum_{n=-\infty}^{\infty} x[n] z^{-n}</math>
|equation = <math>X(z) = \mathcal{Z}\{x[n]\} = \sum_{n=-\infty}^{\infty} x[n] z^{-n}</math>
}}
}}
where <math>n</math> is an integer and <math>z</math> is, in general, a [[complex number]]. In [[Polar coordinate system#Complex numbers|polar form]], <math>z</math> may be written as:
where <math>n</math> is an integer and <math>z</math> is, in general, a [[complex number]]. In [[Polar coordinate system#Complex numbers|polar form]], <math>z</math> may be written as:
:<math>z = A e^{j\phi} = A\cdot(\cos{\phi}+j\sin{\phi})</math>
: <math>z = A e^{i\phi} = A\cdot(\cos{\phi}+i\sin{\phi})</math>
where <math>A</math> is the magnitude of <math>z</math>, <math>j</math> is the [[imaginary unit]], and <math>\phi</math> is the ''[[complex argument]]'' (also referred to as ''angle'' or ''phase'') in [[radian]]s.
where <math>A</math> is the magnitude of <math>z</math>, <math>i</math> is the [[imaginary unit]], and <math>\phi</math> is the ''[[complex argument]]'' (also referred to as ''angle'' or ''phase'') in [[radian]]s.


=== Unilateral Z-transform ===
=== Unilateral Z-transform ===
Line 53: Line 52:
An important example of the unilateral Z-transform is the [[probability-generating function]], where the component <math>x[n]</math> is the probability that a discrete random variable takes the value. The properties of Z-transforms (listed in {{Slink|2=Properties|nopage=y}}) have useful interpretations in the context of probability theory.
An important example of the unilateral Z-transform is the [[probability-generating function]], where the component <math>x[n]</math> is the probability that a discrete random variable takes the value. The properties of Z-transforms (listed in {{Slink|2=Properties|nopage=y}}) have useful interpretations in the context of probability theory.


==Inverse Z-transform==
== Inverse Z-transform ==
The ''inverse'' Z-transform is:
The ''inverse'' Z-transform is:


{{Equation box 1 |title=
{{Equation box 1 |title=
|indent =: |cellpadding= 6 |border |border colour = #0073CF |background colour=#F5FFFA
|indent =: |cellpadding= 6 |border |border colour = #0073CF |background colour=#F5FFFA
|equation = <math> x[n] = \mathcal{Z}^{-1} \{X(z) \}= \frac{1}{2 \pi j} \oint_{C} X(z) z^{n-1} dz</math>
|equation = <math> x[n] = \mathcal{Z}^{-1} \{X(z) \}= \frac{1}{2 \pi i} \oint_{C} X(z) z^{n-1} dz</math>
}}
}}
where <math>C</math> is a counterclockwise closed path encircling the origin and entirely in the [[Radius of convergence|region of convergence]] (ROC). In the case where the ROC is causal (see [[#Example 2 (causal ROC)|Example 2]]), this means the path <math>C</math> must encircle all of the poles of <math>X(z)</math>.
where <math>C</math> is a counterclockwise closed path encircling the origin and entirely in the [[Radius of convergence|region of convergence]] (ROC). In the case where the ROC is causal (see [[#Example 2 (causal ROC)|Example 2]]), this means the path <math>C</math> must encircle all of the poles of <math>X(z)</math>.


Line 67: Line 65:
{{Equation box 1 |title=
{{Equation box 1 |title=
|indent =: |cellpadding= 6 |border |border colour = #0073CF |background colour=#F5FFFA
|indent =: |cellpadding= 6 |border |border colour = #0073CF |background colour=#F5FFFA
|equation = <math> x[n] = \frac{1}{2 \pi} \int_{-\pi}^{+\pi}  X(e^{j \omega}) e^{j \omega n} d \omega.</math>
|equation = <math> x[n] = \frac{1}{2 \pi} \int_{-\pi}^{\pi}  X(e^{i \omega}) e^{i\omega n} d \omega.</math>
}}
}}


Line 74: Line 72:
The following three methods are often used for the evaluation of the inverse -transform,
The following three methods are often used for the evaluation of the inverse -transform,


=== Direct Evaluation by Contour Integration ===
=== Direct evaluation by contour integration ===
This method involves applying the [[Residue theorem|Cauchy Residue Theorem]] to evaluate the inverse Z-transform. By integrating around a closed contour in the complex plane, the residues at the poles of the Z-transform function inside the ROC are summed. This technique is particularly useful when working with functions expressed in terms of complex variables.
This method involves applying the [[Residue theorem|Cauchy Residue Theorem]] to evaluate the inverse Z-transform. By integrating around a closed contour in the complex plane, the residues at the poles of the Z-transform function inside the ROC are summed. This technique is particularly useful when working with functions expressed in terms of complex variables.


=== Expansion into a Series of Terms in the Variables ''z'' and ''z''{{sup|-1}} ===
=== Expansion into a series of terms in the variables ''z'' and ''z''<sup>−1</sup> ===
In this method, the Z-transform is expanded into a power series. This approach is useful when the Z-transform function is rational, allowing for the approximation of the inverse by expanding into a series and determining the signal coefficients term by term.
In this method, the Z-transform is expanded into a power series. This approach is useful when the Z-transform function is rational, allowing for the approximation of the inverse by expanding into a series and determining the signal coefficients term by term.


=== Partial-Fraction Expansion and Table Lookup ===
=== Partial-fraction expansion and table lookup ===
This technique decomposes the Z-transform into a sum of simpler fractions, each corresponding to known Z-transform pairs. The inverse Z-transform is then determined by looking up each term in a standard table of Z-transform pairs. This method is widely used for its efficiency and simplicity, especially when the original function can be easily broken down into recognizable components.
This technique decomposes the Z-transform into a sum of simpler fractions, each corresponding to known Z-transform pairs. The inverse Z-transform is then determined by looking up each term in a standard table of Z-transform pairs. This method is widely used for its efficiency and simplicity, especially when the original function can be easily broken down into recognizable components.


==== Example:<ref>{{Cite book |last1=Proakis |first1=John |title=Digital Signal Processing Principles, Algorithms and Applications |last2=Manolakis |first2=Dimitris |publisher=PRENTICE-HALL INTERNATIONAL, INC. |edition=3rd}}</ref> ====
==== Example ====
<ref>{{cite book |last1=Proakis |first1=John |title=Digital Signal Processing Principles, Algorithms and Applications |last2=Manolakis |first2=Dimitris |publisher=PRENTICE-HALL INTERNATIONAL, INC. |edition=3rd}}</ref>
 
A) Determine the inverse Z-transform of the following by series expansion method,
A) Determine the inverse Z-transform of the following by series expansion method,
<math display=block>X(z) = \frac{1}{1 - 1.5 z^{-1} + 0.5 z^{-2}}</math>
<math display=block>X(z) = \frac{1}{1 - 1.5 z^{-1} + 0.5 z^{-2}}</math>


Line 94: Line 93:
ROC: <math>\left\vert Z \right\vert > 1</math>
ROC: <math>\left\vert Z \right\vert > 1</math>


Since the ROC is the exterior of a circle, <math>x(n)</math> is causal (signal existing for n≥0).
Since the ROC is the exterior of a circle, <math>x(n)</math> is causal (signal existing for ''n'' ≥ 0).
 
<math display=block>X(z) = {1\over 1 - {3\over 2}z^{-1} + {1\over 2}z^{-2}} = 1 + {{3\over 2}z^{-1}} + {{7\over 4}z^{-2}} + {{15\over 8}z^{-3}} + {{31\over 16}z^{-4}} +....</math>
<math display=block>X(z) = {1\over 1 - {3\over 2}z^{-1} + {1\over 2}z^{-2}} = 1 + {{3\over 2}z^{-1}} + {{7\over 4}z^{-2}} + {{15\over 8}z^{-3}} + {{31\over 16}z^{-4}} +....</math>
thus,
thus,
<math display=block>\begin{align}  
<math display=block>\begin{align}  
   x(n) &= \left\{1 , \frac{3}{2} , \frac{7}{4} , \frac{15}{8} , \frac{31}{16} \ldots \right\} \\  
   x(n) &= \left\{1 , \frac{3}{2} , \frac{7}{4} , \frac{15}{8} , \frac{31}{16} \ldots \right\} \\  
   & \qquad\! \uparrow \\  
   & \qquad\! \uparrow \\  
\end{align}</math> (arrow indicates term at x(0)=1)
\end{align}</math> (arrow indicates term at ''x''(0) = 1).


Note that in each step of long division process we eliminate lowest power term of <math>z^{-1}</math>.
Note that in each step of long division process we eliminate lowest power term of <math>z^{-1}</math>.
Line 111: Line 107:
ROC: <math>\left\vert Z \right\vert < 0.5</math>
ROC: <math>\left\vert Z \right\vert < 0.5</math>


Since the ROC is the interior of a circle, <math>x(n)</math> is anticausal (signal existing for n<0).
Since the ROC is the interior of a circle, <math>x(n)</math> is anticausal (signal existing for ''n'' < 0).
 
By performing long division we get,


By performing long division we get
<math display=block>X(z) = \frac{1}{1 - \frac{3}{2}z^{-1} + \frac{1}{2}z^{-2} } = 2z^2 + 6z^3 +14z^4 + 30z^5 + \ldots</math>
<math display=block>X(z) = \frac{1}{1 - \frac{3}{2}z^{-1} + \frac{1}{2}z^{-2} } = 2z^2 + 6z^3 +14z^4 + 30z^5 + \ldots</math>
 
: <math>\begin{align}  
<math>\begin{align}  
   x(n) & = \{30, 14, 6, 2, 0, 0\} \\  
   x(n) & = \{30, 14, 6, 2, 0, 0\} \\  
   & \qquad \qquad \qquad \quad\ \ \, \uparrow\\  
   & \qquad \qquad \qquad \quad\ \ \, \uparrow\\  
\end{align}</math> (arrow indicates term at x(0)=0)
\end{align}</math> (arrow indicates term at ''x''(0) = 0).


Note that in each step of long division process we eliminate lowest power term of <math>z</math>.
Note that in each step of long division process we eliminate lowest power term of <math>z</math>.


''Note:''
''Note:''
 
# When the signal is causal, we get positive powers of <math>z</math> and when the signal is anticausal, we get negative powers of <math>z</math>.
# ''When the signal is causal, we get positive powers of <math>z</math> and when the signal is anticausal, we get negative powers of <math>z</math>.''
# <math>z^k</math> indicates term at <math>x(-k)</math> and <math>z^{-k}</math> indicates term at <math>x(k)</math>.
# ''<math>z^k</math> indicates term at <math>x(-k)</math> and <math>z^{-k}</math> indicates term at <math>x(k)</math>.''


B) Determine the inverse Z-transform of the following by series expansion method,
B) Determine the inverse Z-transform of the following by series expansion method,


Eliminating negative powers if <math>z</math> and dividing by <math>z</math>,
Eliminating negative powers if <math>z</math> and dividing by <math>z</math>,
<math display=block>\frac{X(z)}{z} = \frac{z^2}{z(z^2 - 1.5z + 0.5)} = \frac{z}{z^2 - 1.5z + 0.5}  </math>
<math display=block>\frac{X(z)}{z} = \frac{z^2}{z(z^2 - 1.5z + 0.5)} = \frac{z}{z^2 - 1.5z + 0.5}  </math>


By Partial Fraction Expansion,
By partial fraction expansion,
 
<math display=block>\begin{align}
<math display=block>\begin{align}
   \frac{X(z)}{z} &= \frac{z}{(z-1)(z-0.5)} = \frac{A_1}{z-0.5} + \frac{A_2}{z-1} \\[4pt]
   \frac{X(z)}{z} &= \frac{z}{(z-1)(z-0.5)} = \frac{A_1}{z-0.5} + \frac{A_2}{z-1} \\[4pt]
Line 157: Line 148:
Case 2:
Case 2:


ROC:<math>\left\vert Z \right\vert < 0.5 </math>
ROC: <math>\left\vert Z \right\vert < 0.5 </math>


Both the terms are anticausal, hence <math>x(n)</math> is anticausal.
Both the terms are anticausal, hence <math>x(n)</math> is anticausal.
Line 168: Line 159:
Case 3:
Case 3:


ROC:<math>0.5 < \left\vert Z \right\vert < 1</math>
ROC: <math>0.5 < \left\vert Z \right\vert < 1</math>


One of the terms is causal (p=0.5 provides the causal part) and other is anticausal (p=1 provides the anticausal part), hence <math>x(n)</math> is both sided.
One of the terms is causal (p=0.5 provides the causal part) and other is anticausal (p=1 provides the anticausal part), hence <math>x(n)</math> is both sided.
Line 177: Line 168:
\end{align}</math>
\end{align}</math>


==Region of convergence==
== Region of convergence ==
{{See also|Pole–zero_plot#Discrete-time systems}}
{{see also|Pole–zero plot#Discrete-time systems}}
The [[Radius of convergence|region of convergence]] (ROC) is the set of points in the complex plane for which the Z-transform summation [[Convergent series|converges]] (i.e. doesn't blow up in magnitude to infinity):
The [[Radius of convergence|region of convergence]] (ROC) is the set of points in the complex plane for which the Z-transform summation [[Absolute convergence|absolutely converges]]:
 
: <math>\mathrm{ROC} = \left\{ z : \sum_{n=-\infty}^{\infty} \left| x[n]z^{-n}\right| < \infty \right\} </math>
:<math>\mathrm{ROC} = \left\{ z : \left|\sum_{n=-\infty}^{\infty}x[n]z^{-n}\right| < \infty \right\} </math>
 
===Example 1 (no ROC)===
Let <math>x[n] = (.5)^n\ . </math> Expanding <math>x[n]</math> on the interval <math>(-\infty, \infty)</math> it becomes


:<math>x[n] = \left \{\dots, (.5)^{-3}, (.5)^{-2}, (.5)^{-1}, 1, (.5), (.5)^2, (.5)^3, \dots \right \} = \left \{\dots, 2^3, 2^2, 2, 1, (.5), (.5)^2, (.5)^3, \dots \right\}.</math>
=== Example 1 (no ROC) ===
Let <math>x[n] = (0.5)^n\ . </math> Expanding <math>x[n]</math> on the interval <math>(-\infty, \infty)</math> it becomes
: <math>x[n] = \left \{\dots, (0.5)^{-3}, (0.5)^{-2}, (0.5)^{-1}, 1, (0.5), (0.5)^2, (0.5)^3, \dots \right \} = \left \{\dots, 2^3, 2^2, 2, 1, (0.5), (0.5)^2, (0.5)^3, \dots \right\}.</math>


Looking at the sum
Looking at the sum
 
: <math>\sum_{n=-\infty}^{\infty}x[n]z^{-n} \to \infty.</math>
:<math>\sum_{n=-\infty}^{\infty}x[n]z^{-n} \to \infty.</math>


Therefore, there are no values of <math>z</math> that satisfy this condition.
Therefore, there are no values of <math>z</math> that satisfy this condition.


===Example 2 (causal ROC)===
=== Example 2 (causal ROC) ===
[[Image:Region of convergence 0.5 causal.svg|thumb|250px|ROC (blue), {{pipe}}''z''{{pipe}}&nbsp;=&nbsp;.5 (dashed black circle), and the unit circle (dotted grey circle).]]
[[Image:Region of convergence 0.5 causal.svg|thumb|250px|ROC (blue), {{abs|''z''}}&nbsp;=&nbsp;0.5 (dashed black circle), and the unit circle (dotted grey circle).]]
 
Let <math>x[n] = (.5)^n \, u[n] </math> (where <math>u</math> is the [[Heaviside step function]]). Expanding <math>x[n]</math> on the interval <math>(-\infty, \infty)</math> it becomes


:<math>x[n] = \left \{\dots, 0, 0, 0, 1, (.5), (.5)^2, (.5)^3, \dots \right \}.</math>
Let <math>x[n] = (0.5)^n \, u[n] </math> (where <math>u</math> is the [[Heaviside step function]]). Expanding <math>x[n]</math> on the interval <math>(-\infty, \infty)</math> it becomes
: <math>x[n] = \left \{\dots, 0, 0, 0, 1, (0.5), (0.5)^2, (0.5)^3, \dots \right \}.</math>


Looking at the sum
Looking at the sum
: <math>\sum_{n=-\infty}^{\infty}x[n]z^{-n} = \sum_{n=0}^{\infty}(0.5)^nz^{-n} = \sum_{n=0}^{\infty}\left(\frac{0.5}{z}\right)^n = \frac{1}{1 - (0.5)z^{-1}}.</math>


:<math>\sum_{n=-\infty}^{\infty}x[n]z^{-n} = \sum_{n=0}^{\infty}(.5)^nz^{-n} = \sum_{n=0}^{\infty}\left(\frac{.5}{z}\right)^n = \frac{1}{1 - (.5)z^{-1}}.</math>
The last equality arises from the infinite [[geometric series]] and the equality only holds if <math>|(0.5)z^{-1}| < 1 ,</math> which can be rewritten in terms of <math>z</math> as <math>|z| > (0.5).</math> Thus, the ROC is <math>|z| > (0.5).</math> In this case the ROC is the complex plane with a disc of radius 0.5 at the origin "punched out".{{clear}}
 
The last equality arises from the infinite [[geometric series]] and the equality only holds if <math>|(.5)z^{-1}| < 1 ,</math> which can be rewritten in terms of <math>z</math> as <math>|z| > (.5).</math> Thus, the ROC is <math>|z| > (.5).</math> In this case the ROC is the complex plane with a disc of radius 0.5 at the origin "punched out".{{clear}}
 
===Example 3 (anti causal ROC)===
[[Image:Region of convergence 0.5 anticausal.svg|thumb|250px|ROC (blue), {{pipe}}''z''{{pipe}}&nbsp;=&nbsp;.5 (dashed black circle), and the unit circle (dotted grey circle).]]


Let <math>x[n] = -(.5)^n \, u[-n-1] </math> (where <math>u</math> is the [[Heaviside step function]]). Expanding <math>x[n]</math> on the interval <math>(-\infty, \infty)</math> it becomes
=== Example 3 (anticausal ROC) ===
[[Image:Region of convergence 0.5 anticausal.svg|thumb|250px|ROC (blue), {{abs|''z''}}&nbsp;=&nbsp;0.5 (dashed black circle), and the unit circle (dotted grey circle).]]


:<math>x[n] = \left \{ \dots, -(.5)^{-3}, -(.5)^{-2}, -(.5)^{-1}, 0, 0, 0, 0, \dots \right \}.</math>
Let <math>x[n] = -(0.5)^n \, u[-n-1] </math> (where <math>u</math> is the [[Heaviside step function]]). Expanding <math>x[n]</math> on the interval <math>(-\infty, \infty)</math> it becomes
: <math>x[n] = \left \{ \dots, -(0.5)^{-3}, -(0.5)^{-2}, -(0.5)^{-1}, 0, 0, 0, 0, \dots \right \}.</math>


Looking at the sum
Looking at the sum
 
: <math>\begin{align}
:<math>\begin{align}
\sum_{n=-\infty}^{\infty}x[n] \, z^{-n} &= -\sum_{n=-\infty}^{-1}(0.5)^n \, z^{-n} \\
\sum_{n=-\infty}^{\infty}x[n] \, z^{-n} &= -\sum_{n=-\infty}^{-1}(.5)^n \, z^{-n} \\
&= -\sum_{m=1}^{\infty}\left(\frac{z}{0.5}\right)^{m} \\
&= -\sum_{m=1}^{\infty}\left(\frac{z}{.5}\right)^{m} \\
&= -\frac{(0.5)^{-1}z}{1 - (0.5)^{-1}z} \\
&= -\frac{(.5)^{-1}z}{1 - (.5)^{-1}z} \\
&= -\frac{1}{(.5)z^{-1}-1} \\
&= -\frac{1}{(.5)z^{-1}-1} \\
&= \frac{1}{1 - (.5)z^{-1}} \\
&= \frac{1}{1 - (0.5)z^{-1}} \\
\end{align}</math>
\end{align}</math>
 
and using the infinite [[geometric series]] again, the equality only holds if <math>|(0.5)^{-1} z| < 1</math> which can be rewritten in terms of <math>z</math> as <math>|z| < (0.5).</math> Thus, the ROC is <math>|z| < (0.5).</math> In this case the ROC is a disc centered at the origin and of radius 0.5.
and using the infinite [[geometric series]] again, the equality only holds if <math>|(.5)^{-1} z| < 1</math> which can be rewritten in terms of <math>z</math> as <math>|z| < (.5).</math> Thus, the ROC is <math>|z| < (.5).</math> In this case the ROC is a disc centered at the origin and of radius 0.5.


What differentiates this example from the previous example is ''only'' the ROC. This is intentional to demonstrate that the transform result alone is insufficient.
What differentiates this example from the previous example is ''only'' the ROC. This is intentional to demonstrate that the transform result alone is insufficient.
{{Clear}}
{{clear}}


===Examples conclusion===
=== Examples conclusion ===
Examples 2 & 3 clearly show that the Z-transform <math>X(z)</math> of <math>x[n]</math> is unique when and only when specifying the ROC. Creating the [[pole–zero plot]] for the causal and anticausal case show that the ROC for either case does not include the pole that is at 0.5. This extends to cases with multiple poles: the ROC will ''never'' contain poles.
Examples 2 and 3 clearly show that the Z-transform <math>X(z)</math> of <math>x[n]</math> is unique when and only when specifying the ROC. Creating the [[pole–zero plot]] for the causal and anticausal case show that the ROC for either case does not include the pole that is at 0.5. This extends to cases with multiple poles: the ROC will ''never'' contain poles.


In example 2, the causal system yields a ROC that includes <math>|z| = \infty</math> while the anticausal system in example 3 yields an ROC that includes <math>|z| = 0 .</math>
In example 2, the causal system yields a ROC that includes <math>|z| = \infty</math> while the anticausal system in example 3 yields an ROC that includes <math>|z| = 0 .</math>


[[Image:Region of convergence 0.5 0.75 mixed-causal.svg|thumb|250px|ROC shown as a blue ring 0.5&nbsp;<&nbsp;{{pipe}}''z''{{pipe}}&nbsp;<&nbsp;0.75]]
[[Image:Region of convergence 0.5 0.75 mixed-causal.svg|thumb|250px|ROC shown as a blue ring 0.5&nbsp;<&nbsp;{{abs|''z''}}&nbsp;<&nbsp;0.75]]
In systems with multiple poles it is possible to have a ROC that includes neither <math>|z| = \infty</math> nor <math>|z| = 0 .</math> The ROC creates a circular band. For example,
In systems with multiple poles it is possible to have a ROC that includes neither <math>|z| = \infty</math> nor <math>|z| = 0 .</math> The ROC creates a circular band. For example,
 
: <math>x[n] = (0.5)^n \, u[n] - (0.75)^n \, u[-n-1]</math>
:<math>x[n] = (.5)^n \, u[n] - (.75)^n \, u[-n-1]</math>
has poles at 0.5 and 0.75. The ROC will be 0.5 < {{abs|''z''}} < 0.75, which includes neither the origin nor infinity. Such a system is called a mixed-causality system as it contains a causal term <math>(0.5)^n \, u[n]</math> and an anticausal term <math>-(0.75)^n \, u[-n-1] .</math>
 
has poles at 0.5 and 0.75. The ROC will be 0.5 < {{abs|''z''}} < 0.75, which includes neither the origin nor infinity. Such a system is called a mixed-causality system as it contains a causal term <math>(.5)^n \, u[n]</math> and an anticausal term <math>-(.75)^n \, u[-n-1] .</math>


The [[Control theory#Stability|stability]] of a system can also be determined by knowing the ROC alone. If the ROC contains the unit circle (i.e., {{abs|''z''}} = 1) then the system is stable. In the above systems the causal system (Example 2) is stable because {{abs|''z''}} > 0.5 contains the unit circle.
The [[Control theory#Stability|stability]] of a system can also be determined by knowing the ROC alone. If the ROC contains the unit circle (i.e., {{abs|''z''}} = 1) then the system is stable. In the above systems the causal system (Example 2) is stable because {{abs|''z''}} > 0.5 contains the unit circle.
Line 251: Line 232:
The unique <math>x[n]</math> can then be found.
The unique <math>x[n]</math> can then be found.


==Properties==
== Properties ==
{| class="wikitable"
{| class="wikitable"
  |+ '''Properties of the z-transform'''
  |+ '''Properties of the z-transform'''
Line 298: Line 279:
| <math>z^{-k}X(z)</math>
| <math>z^{-k}X(z)</math>
| <math>\begin{align} \mathcal{Z}\{x[n-k]\} &= \sum_{n=0}^{\infty} x[n-k]z^{-n}\\
| <math>\begin{align} \mathcal{Z}\{x[n-k]\} &= \sum_{n=0}^{\infty} x[n-k]z^{-n}\\
&= \sum_{j=-k}^{\infty} x[j]z^{-(j+k)}&& j = n-k \\
&= \sum_{m=-k}^{\infty} x[m]z^{-(m+k)}&& m = n-k \\
&= \sum_{j=-k}^{\infty} x[j]z^{-j}z^{-k} \\
&= \sum_{m=-k}^{\infty} x[m]z^{-m}z^{-k} \\
&= z^{-k}\sum_{j=-k}^{\infty}x[j]z^{-j}\\
&= z^{-k}\sum_{m=-k}^{\infty}x[m]z^{-m}\\
&= z^{-k}\sum_{j=0}^{\infty}x[j]z^{-j} && x[\beta] = 0,  \beta < 0\\
&= z^{-k}\sum_{m=0}^{\infty}x[m]z^{-m} && x[\beta] = 0,  \forall \beta < 0 \\
&= z^{-k}X(z)\end{align} </math>
&= z^{-k}X(z)\end{align} </math>
| ROC, except <math>z{=}0</math> if <math>k > 0</math> and <math>z {=} \infty</math> if <math>k < 0</math>
| ROC, except <math>z{=}0</math> if <math>k > 0</math> and <math>z {=} \infty</math> if <math>k < 0</math>
Line 366: Line 347:
  ! [[Imaginary part]]
  ! [[Imaginary part]]
| <math>\operatorname{Im}\{x[n]\}</math>
| <math>\operatorname{Im}\{x[n]\}</math>
| <math>\tfrac{1}{2j}\left[X(z)-X^*(z^*) \right]</math>
| <math>\tfrac{1}{2i}\left[X(z)-X^*(z^*) \right]</math>
|
|
|  
|  
Line 411: Line 392:
  ! [[Multiplication]]
  ! [[Multiplication]]
|  <math>x_1[n] \, x_2[n]</math>
|  <math>x_1[n] \, x_2[n]</math>
| <math>\frac{1}{j2\pi}\oint_C X_1(v)X_2(\tfrac{z}{v})v^{-1}\mathrm{d}v</math>
| <math>\frac{1}{2\pi i}\oint_C X_1(v)X_2(\tfrac{z}{v})v^{-1}\mathrm{d}v</math>
|
|
| At least <math>r_{1l}r_{2l}<|z|<r_{1u}r_{2u}</math> |-
| At least <math>r_{1l}r_{2l}<|z|<r_{1u}r_{2u}</math> |-
Line 417: Line 398:


'''[[Parseval's theorem]]'''
'''[[Parseval's theorem]]'''
:<math>\sum_{n=-\infty}^{\infty} x_1[n]x^*_2[n] \quad = \quad \frac{1}{j2\pi}\oint_C X_1(v)X^*_2(\tfrac{1}{v^*})v^{-1}\mathrm{d}v</math>
: <math>\sum_{n=-\infty}^{\infty} x_1[n]x^*_2[n] \quad = \quad \frac{1}{2\pi i}\oint_C X_1(v)X^*_2(\tfrac{1}{v^*})v^{-1}\mathrm{d}v</math>


'''[[Initial value theorem]]''': If <math>x[n]</math> is causal, then
'''[[Initial value theorem]]''': If <math>x[n]</math> is causal, then
:<math>x[0]=\lim_{z\to \infty}X(z).</math>
: <math>x[0]=\lim_{z\to \infty}X(z).</math>


'''[[Final value theorem]]''': If the poles of <math>(z - 1) X(z)</math> are inside the unit circle, then
'''[[Final value theorem]]''': If the poles of <math>(z - 1) X(z)</math> are inside the unit circle, then
:<math>x[\infty]=\lim_{z\to 1}(z-1)X(z).</math>
: <math>x[\infty]=\lim_{z\to 1}(z-1)X(z).</math>


==Table of common Z-transform pairs==
== Table of common Z-transform pairs ==
Here:
Here:
:<math>u : n \mapsto u[n] = \begin{cases} 1, & n \ge 0 \\ 0, & n < 0 \end{cases}</math>
: <math>u : n \mapsto u[n] = \begin{cases} 1, & n \ge 0 \\ 0, & n < 0 \end{cases}</math>
is the [[Heaviside step function|unit (or Heaviside) step function]] and
is the [[Heaviside step function|unit (or Heaviside) step function]] and
:<math>\delta : n \mapsto \delta[n] = \begin{cases} 1, & n = 0 \\ 0, & n \ne 0 \end{cases}</math>
: <math>\delta : n \mapsto \delta[n] = \begin{cases} 1, & n = 0 \\ 0, & n \ne 0 \end{cases}</math>
is the [[Kronecker delta#Digital signal processing|discrete-time unit impulse function]] (cf [[Dirac delta function]] which is a continuous-time version). The two functions are chosen together so that the unit step function is the accumulation (running total) of the unit impulse function.
is the [[Kronecker delta#Digital signal processing|discrete-time unit impulse function]] (cf. [[Dirac delta function]], which is a continuous-time version). The two functions are chosen together so that the unit step function is the accumulation (running total) of the unit impulse function.


{| class="wikitable"
{| class="wikitable"
Line 484: Line 465:
{{further|Discrete-time Fourier transform#Relationship to the Z-transform}}
{{further|Discrete-time Fourier transform#Relationship to the Z-transform}}


For values of <math>z</math> in the region <math>|z| {=} 1</math>, known as the [[unit circle]], we can express the transform as a function of a single real variable <math>\omega</math> by defining <math>z {=} e^{j \omega}.</math> And the bi-lateral transform reduces to a [[Fourier series]]:
For values of <math>z</math> in the region <math>|z| {=} 1</math>, known as the [[unit circle]], we can express the transform as a function of a single real variable <math>\omega</math> by defining <math>z {=} e^{i \omega}.</math> And the bi-lateral transform reduces to a [[Fourier series]]:


{{Equation box 1 |title =
{{Equation box 1 |title =
|indent= |cellpadding= 0 |border= 0 |background colour=white
|indent= |cellpadding= 0 |border= 0 |background colour=white
|equation={{NumBlk|:|
|equation={{NumBlk|:|
<math>\sum_{n=-\infty}^{\infty} x[n]\ z^{-n} = \sum_{n=-\infty}^{\infty} x[n]\ e^{-j\omega n},</math>   
<math>\sum_{n=-\infty}^{\infty} x[n]\ z^{-n} = \sum_{n=-\infty}^{\infty} x[n]\ e^{-i\omega n},</math>   
|{{EquationRef|Eq.1}} }} }}
|{{EquationRef|Eq.1}} }} }}
which is also known as the [[discrete-time Fourier transform]] (DTFT) of the <math>x[n]</math> sequence. This <math>2\pi</math>-periodic function is the [[periodic summation]] of a [[continuous Fourier transform|Fourier transform]], which makes it a widely used analysis tool. To understand this, let <math>X(f)</math> be the Fourier transform of any function, <math>x(t)</math>, whose samples at some interval <math>T</math> equal the <math>x[n]</math> sequence. Then the DTFT of the <math>x[n]</math> sequence can be written as follows.
which is also known as the [[discrete-time Fourier transform]] (DTFT) of the <math>x[n]</math> sequence. This <math>2\pi</math>-periodic function is the [[periodic summation]] of a [[continuous Fourier transform|Fourier transform]], which makes it a widely used analysis tool. To understand this, let <math>X(f)</math> be the Fourier transform of any function, <math>x(t)</math>, whose samples at some interval <math>T</math> equal the <math>x[n]</math> sequence. Then the DTFT of the <math>x[n]</math> sequence can be written as follows.


Line 497: Line 477:
|indent= |cellpadding= 0 |border= 0 |background colour=white
|indent= |cellpadding= 0 |border= 0 |background colour=white
|equation={{NumBlk|:|
|equation={{NumBlk|:|
<math>\underbrace{\sum_{n=-\infty}^{\infty} \overbrace{x(nT)}^{x[n]}\ e^{-j 2\pi f nT}
<math>\underbrace{\sum_{n=-\infty}^{\infty} \overbrace{x(nT)}^{x[n]}\ e^{-2i\pi f nT}
}_{\text{DTFT}} = \frac{1}{T}\sum_{k=-\infty}^{\infty} X(f-k/T),</math>   
}_{\text{DTFT}} = \frac{1}{T}\sum_{k=-\infty}^{\infty} X(f-k/T),</math>   
|{{EquationRef|Eq.2}} }} }}
|{{EquationRef|Eq.2}} }} }}
where <math>T</math> has units of seconds, <math>f</math> has units of [[hertz]]. Comparison of the two series reveals that <math> \omega {=} 2\pi fT</math> is a [[Normalized frequency (digital signal processing)#Alternative normalizations|normalized frequency]] with unit of ''radian per sample''. The value <math>\omega{=}2\pi</math> corresponds to <math display="inline"> f {=} \frac{1}{T}</math>. And now, with the substitution <math display="inline"> f{=}\frac{\omega }{2\pi T},</math> {{EquationNote|Eq.1}} can be expressed in terms of <math>X( \tfrac{\omega - 2\pi k}{2\pi T} )</math> (a Fourier transform):
where <math>T</math> has units of seconds, <math>f</math> has units of [[hertz]]. Comparison of the two series reveals that <math> \omega {=} 2\pi fT</math> is a [[Normalized frequency (digital signal processing)#Alternative normalizations|normalized frequency]] with unit of ''radian per sample''. The value <math>\omega{=}2\pi</math> corresponds to <math display="inline"> f {=} \frac{1}{T}</math>. And now, with the substitution <math display="inline"> f{=}\frac{\omega }{2\pi T},</math> {{EquationNote|Eq.1}} can be expressed in terms of <math>X( \tfrac{\omega - 2\pi k}{2\pi T} )</math> (a Fourier transform):


Line 507: Line 486:
|equation={{NumBlk|:|
|equation={{NumBlk|:|
<math>
<math>
\sum_{n=-\infty}^{\infty} x[n]\ e^{-j\omega n} = \frac{1}{T}\sum_{k=-\infty}^{\infty} \underbrace{X\left(\tfrac{\omega}{2\pi T} - \tfrac{k}{T}\right)}_{X\left(\frac{\omega - 2\pi k}{2\pi T}\right)}.
\sum_{n=-\infty}^{\infty} x[n]\ e^{-i\omega n} = \frac{1}{T}\sum_{k=-\infty}^{\infty} \underbrace{X\left(\tfrac{\omega}{2\pi T} - \tfrac{k}{T}\right)}_{X\left(\frac{\omega - 2\pi k}{2\pi T}\right)}.
</math>   
</math>   
|{{EquationRef|Eq.3}} }} }}
|{{EquationRef|Eq.3}} }} }}
Line 513: Line 492:
As parameter ''T'' changes, the individual terms of {{EquationNote|Eq.2}} move farther apart or closer together along the ''f''-axis. In {{EquationNote|Eq.3}} however, the centers remain 2{{pi}} apart, while their widths expand or contract. When sequence <math>x(nT)</math> represents the [[impulse response]] of an [[LTI system]], these functions are also known as its [[frequency response]]. When the <math>x(nT)</math> sequence is periodic, its DTFT is divergent at one or more harmonic frequencies, and zero at all other frequencies.  This is often represented by the use of amplitude-variant [[Dirac delta]] functions at the harmonic frequencies. Due to periodicity, there are only a finite number of unique amplitudes, which are readily computed by the much simpler [[discrete Fourier transform]] (DFT). (See ''{{slink|Discrete-time Fourier transform|Periodic data}}''.)
As parameter ''T'' changes, the individual terms of {{EquationNote|Eq.2}} move farther apart or closer together along the ''f''-axis. In {{EquationNote|Eq.3}} however, the centers remain 2{{pi}} apart, while their widths expand or contract. When sequence <math>x(nT)</math> represents the [[impulse response]] of an [[LTI system]], these functions are also known as its [[frequency response]]. When the <math>x(nT)</math> sequence is periodic, its DTFT is divergent at one or more harmonic frequencies, and zero at all other frequencies.  This is often represented by the use of amplitude-variant [[Dirac delta]] functions at the harmonic frequencies. Due to periodicity, there are only a finite number of unique amplitudes, which are readily computed by the much simpler [[discrete Fourier transform]] (DFT). (See ''{{slink|Discrete-time Fourier transform|Periodic data}}''.)


==Relationship to Laplace transform==
== Relationship to Laplace transform ==
{{further|Laplace transform#Z-transform}}
{{further|Laplace transform#Z-transform}}


===Bilinear transform===
=== Bilinear transform ===
{{Main|Bilinear transform}}
{{main|Bilinear transform}}
The '''bilinear transform''' can be used to convert continuous-time filters (represented in the Laplace domain) into discrete-time filters (represented in the Z-domain), and vice versa. The following substitution is used:
The '''bilinear transform''' can be used to convert continuous-time filters (represented in the Laplace domain) into discrete-time filters (represented in the Z-domain), and vice versa. The following substitution is used:
:<math>s =\frac{2}{T} \frac{(z-1)}{(z+1)}</math>
: <math>s =\frac{2}{T} \frac{(z-1)}{(z+1)}</math>
to convert some function <math>H(s)</math> in the Laplace domain to a function <math>H(z)</math> in the Z-domain ([[Bilinear transform|Tustin transformation]]), or
to convert some function <math>H(s)</math> in the Laplace domain to a function <math>H(z)</math> in the Z-domain ([[Bilinear transform|Tustin transformation]]), or
:<math>z =e^{sT}\approx \frac{1+sT/2}{1-sT/2}</math>
: <math>z =e^{sT}\approx \frac{1+sT/2}{1-sT/2}</math>
from the Z-domain to the Laplace domain. Through the bilinear transformation, the complex ''s''-plane (of the Laplace transform) is mapped to the complex z-plane (of the z-transform). While this mapping is (necessarily) nonlinear, it is useful in that it maps the entire <math>j\omega</math> axis of the ''s''-plane onto the [[unit circle]] in the z-plane. As such, the Fourier transform (which is the Laplace transform evaluated on the <math>j\omega</math> axis) becomes the discrete-time Fourier transform. This assumes that the Fourier transform exists; i.e., that the <math>j\omega</math> axis is in the region of convergence of the Laplace transform.
from the Z-domain to the Laplace domain. Through the bilinear transformation, the complex ''s''-plane (of the Laplace transform) is mapped to the complex z-plane (of the z-transform). While this mapping is (necessarily) nonlinear, it is useful in that it maps the entire <math>i\omega</math> axis of the ''s''-plane onto the [[unit circle]] in the z-plane. As such, the Fourier transform (which is the Laplace transform evaluated on the <math>i\omega</math> axis) becomes the discrete-time Fourier transform. This assumes that the Fourier transform exists; i.e., that the <math>i\omega</math> axis is in the region of convergence of the Laplace transform.


=== Starred transform ===
=== Starred transform ===
{{Main|Starred transform}}
{{main|Starred transform}}
Given a one-sided Z-transform <math>X(z)</math> of a time-sampled function, the corresponding '''starred transform''' produces a Laplace transform and restores the dependence on <math>T</math> (the sampling parameter):
Given a one-sided Z-transform <math>X(z)</math> of a time-sampled function, the corresponding '''starred transform''' produces a Laplace transform and restores the dependence on <math>T</math> (the sampling parameter):
:<math>\bigg. X^*(s) = X(z)\bigg|_{\displaystyle z = e^{sT}}</math>
: <math>\bigg. X^*(s) = X(z)\bigg|_{\displaystyle z = e^{sT}}</math>


The inverse Laplace transform is a mathematical abstraction known as an ''impulse-sampled'' function.
The inverse Laplace transform is a mathematical abstraction known as an ''impulse-sampled'' function.


==Linear constant-coefficient difference equation==
== Linear constant-coefficient difference equation ==
The linear constant-coefficient difference (LCCD) equation is a representation for a linear system based on the [[Autoregressive moving average model|autoregressive moving-average]] equation:
The linear constant-coefficient difference (LCCD) equation is a representation for a linear system based on the [[Autoregressive moving average model|autoregressive moving-average]] equation:
 
: <math>\sum_{p=0}^{N}y[n-p]\alpha_{p} = \sum_{q=0}^{M}x[n-q]\beta_{q} .</math>
:<math>\sum_{p=0}^{N}y[n-p]\alpha_{p} = \sum_{q=0}^{M}x[n-q]\beta_{q} .</math>


Both sides of the above equation can be divided by <math>\alpha_0</math> if it is not zero. By normalizing with <math>\alpha_0{=}1,</math> the LCCD equation can be written
Both sides of the above equation can be divided by <math>\alpha_0</math> if it is not zero. By normalizing with <math>\alpha_0{=}1,</math> the LCCD equation can be written
 
: <math>y[n] = \sum_{q=0}^{M}x[n-q]\beta_{q} - \sum_{p=1}^{N}y[n-p]\alpha_{p}.</math>
:<math>y[n] = \sum_{q=0}^{M}x[n-q]\beta_{q} - \sum_{p=1}^{N}y[n-p]\alpha_{p}.</math>


This form of the LCCD equation is favorable to make it more explicit that the "current" output <math>y[n]</math> is a function of past outputs <math>y[n-p],</math> current input <math>x[n],</math> and previous inputs <math>x[n-q].</math>
This form of the LCCD equation is favorable to make it more explicit that the "current" output <math>y[n]</math> is a function of past outputs <math>y[n-p],</math> current input <math>x[n],</math> and previous inputs <math>x[n-q].</math>


===Transfer function===
=== Transfer function ===
Taking the Z-transform of the above equation (using linearity and time-shifting laws) yields:
Taking the Z-transform of the above equation (using linearity and time-shifting laws) yields:
 
: <math>Y(z) \sum_{p=0}^{N}z^{-p}\alpha_{p} = X(z) \sum_{q=0}^{M}z^{-q}\beta_{q}</math>
:<math>Y(z) \sum_{p=0}^{N}z^{-p}\alpha_{p} = X(z) \sum_{q=0}^{M}z^{-q}\beta_{q}</math>
 
where <math>X(z)</math> and <math>Y(z)</math> are the z-transform of <math>x[n]</math> and <math>y[n],</math> respectively. (Notation conventions typically use capitalized letters to refer to the z-transform of a signal denoted by a corresponding lower case letter, similar to the convention used for notating Laplace transforms.)
where <math>X(z)</math> and <math>Y(z)</math> are the z-transform of <math>x[n]</math> and <math>y[n],</math> respectively. (Notation conventions typically use capitalized letters to refer to the z-transform of a signal denoted by a corresponding lower case letter, similar to the convention used for notating Laplace transforms.)


Rearranging results in the system's [[transfer function]]:
Rearranging results in the system's [[transfer function]]:
: <math>H(z) = \frac{Y(z)}{X(z)} = \frac{\sum_{q=0}^{M}z^{-q}\beta_{q}}{\sum_{p=0}^{N}z^{-p}\alpha_{p}} = \frac{\beta_0 + z^{-1} \beta_1 + z^{-2} \beta_2 + \cdots + z^{-M} \beta_M}{\alpha_0 + z^{-1} \alpha_1 + z^{-2} \alpha_2 + \cdots + z^{-N} \alpha_N}.</math>


:<math>H(z) = \frac{Y(z)}{X(z)} = \frac{\sum_{q=0}^{M}z^{-q}\beta_{q}}{\sum_{p=0}^{N}z^{-p}\alpha_{p}} = \frac{\beta_0 + z^{-1} \beta_1 + z^{-2} \beta_2 + \cdots + z^{-M} \beta_M}{\alpha_0 + z^{-1} \alpha_1 + z^{-2} \alpha_2 + \cdots + z^{-N} \alpha_N}.</math>
=== Zeros and poles ===
 
===Zeros and poles===
From the [[fundamental theorem of algebra]] the [[numerator]] has <math>M</math> [[root of a function|roots]] (corresponding to zeros of ''<math>H</math>'') and the [[denominator]] has <math>N</math> roots (corresponding to poles).  Rewriting the [[transfer function]] in terms of [[zeros and poles]]
From the [[fundamental theorem of algebra]] the [[numerator]] has <math>M</math> [[root of a function|roots]] (corresponding to zeros of ''<math>H</math>'') and the [[denominator]] has <math>N</math> roots (corresponding to poles).  Rewriting the [[transfer function]] in terms of [[zeros and poles]]
:<math>H(z) = \frac{(1 - q_1 z^{-1})(1 - q_2 z^{-1})\cdots(1 - q_M z^{-1}) } { (1 - p_1 z^{-1})(1 - p_2 z^{-1})\cdots(1 - p_N z^{-1})} ,</math>
: <math>H(z) = \frac{(1 - q_1 z^{-1})(1 - q_2 z^{-1})\cdots(1 - q_M z^{-1}) } { (1 - p_1 z^{-1})(1 - p_2 z^{-1})\cdots(1 - p_N z^{-1})} ,</math>
where <math>q_k</math> is the <math>k^\text{th}</math> zero and <math>p_k</math> is the <math>k^\text{th}</math> pole. The zeros and poles are commonly complex and when plotted on the complex plane (z-plane) it is called the [[pole–zero plot]].
where <math>q_k</math> is the <math>k</math>th zero and <math>p_k</math> is the <math>k</math>th pole. The zeros and poles are commonly complex and when plotted on the complex plane (z-plane) it is called the [[pole–zero plot]].


In addition, there may also exist zeros and poles at <math>z{=}0</math> and <math>z{=}\infty.</math> If we take these poles and zeros as well as multiple-order zeros and poles into consideration, the number of zeros and poles are always equal.
In addition, there may also exist zeros and poles at <math>z=0</math> and <math>z=\infty.</math> If we take these poles and zeros as well as multiple-order zeros and poles into consideration, the number of zeros and poles are always equal.


By factoring the denominator, [[partial fraction]] decomposition can be used, which can then be transformed back to the time domain. Doing so would result in the [[impulse response]] and the linear constant coefficient difference equation of the system.
By factoring the denominator, [[partial fraction]] decomposition can be used, which can then be transformed back to the time domain. Doing so would result in the [[impulse response]] and the linear constant coefficient difference equation of the system.


===Output response===
=== Output response ===
If such a system <math>H(z)</math> is driven by a signal <math>X(z)</math> then the output is <math>Y(z) = H(z)X(z).</math> By performing [[partial fraction]] decomposition on <math>Y(z)</math> and then taking the inverse Z-transform the output <math>y[n]</math> can be found. In practice, it is often useful to fractionally decompose <math>\textstyle \frac{Y(z)}{z}</math> before multiplying that quantity by <math>z</math> to generate a form of <math>Y(z)</math> which has terms with easily computable inverse Z-transforms.
If such a system <math>H(z)</math> is driven by a signal <math>X(z)</math> then the output is <math>Y(z) = H(z)X(z).</math> By performing [[partial fraction]] decomposition on <math>Y(z)</math> and then taking the inverse Z-transform the output <math>y[n]</math> can be found. In practice, it is often useful to fractionally decompose <math>\textstyle \frac{Y(z)}{z}</math> before multiplying that quantity by <math>z</math> to generate a form of <math>Y(z)</math> which has terms with easily computable inverse Z-transforms.


==See also==
== See also ==
* [[Advanced Z-transform]]
* [[Advanced Z-transform]]
* [[Bilinear transform]]
* [[Bilinear transform]]
Line 583: Line 557:
* [[Zeta function regularization]]
* [[Zeta function regularization]]


==References==
== References ==
{{Reflist}}
{{reflist}}


==Further reading==
== Further reading ==
* Refaat El Attar, ''Lecture notes on Z-Transform'', Lulu Press, Morrisville NC, 2005. {{isbn|1-4116-1979-X}}.
* Refaat El Attar, ''Lecture notes on Z-Transform'', Lulu Press, Morrisville NC, 2005. {{isbn|1-4116-1979-X}}.
* Ogata, Katsuhiko, ''Discrete Time Control Systems 2nd Ed'', Prentice-Hall Inc, 1995, 1987. {{isbn|0-13-034281-5}}.
* Ogata, Katsuhiko, ''Discrete Time Control Systems 2nd Ed'', Prentice-Hall Inc, 1995, 1987. {{isbn|0-13-034281-5}}.
* Alan V. Oppenheim and Ronald W. Schafer (1999). Discrete-Time Signal Processing, 2nd Edition, Prentice Hall Signal Processing Series. {{isbn|0-13-754920-2}}.
* Alan V. Oppenheim and Ronald W. Schafer (1999). Discrete-Time Signal Processing, 2nd Edition, Prentice Hall Signal Processing Series. {{isbn|0-13-754920-2}}.


==External links==
== External links ==
* {{springer|title=Z-transform|id=p/z130010|mode=cs1}}
* {{springer|title=Z-transform|id=p/z130010|mode=cs1}}
* {{cite arXiv |eprint=1409.1727 |last1=Merrikh-Bayat |first1=Farshad |title=Two Methods for Numerical Inversion of the Z-Transform |date=2014 |class=math.NA }}
* {{cite arXiv |eprint=1409.1727 |last1=Merrikh-Bayat |first1=Farshad |title=Two Methods for Numerical Inversion of the Z-Transform |date=2014 |class=math.NA }}
* [http://www.swarthmore.edu/NatSci/echeeve1/Ref/LPSA/LaplaceZTable/LaplaceZFuncTable.html Z-Transform table of some common Laplace transforms]
* [http://www.swarthmore.edu/NatSci/echeeve1/Ref/LPSA/LaplaceZTable/LaplaceZFuncTable.html Z-Transform table of some common Laplace transforms]
* [http://mathworld.wolfram.com/Z-Transform.html Mathworld's entry on the Z-transform]
* [http://mathworld.wolfram.com/Z-Transform.html Mathworld's entry on the Z-transform] {{webarchive|url=https://web.archive.org/web/20130130223318/http://mathworld.wolfram.com/Z-Transform.html |date=2013-01-30 }}
* [http://www.dsprelated.com/comp.dsp/keyword/Z_Transform.php Z-Transform threads in Comp.DSP]
* [http://www.dsprelated.com/comp.dsp/keyword/Z_Transform.php Z-Transform threads in Comp.DSP] {{webarchive|url=https://web.archive.org/web/20120615051141/http://www.dsprelated.com/comp.dsp/keyword/Z_Transform.php |date=2012-06-15 }}
* [https://www.youtube.com/watch?v=4PV6ikgBShw A graphic of the relationship between Laplace transform s-plane to Z-plane of the Z transform]
* [https://www.youtube.com/watch?v=4PV6ikgBShw A graphic of the relationship between Laplace transform s-plane to Z-plane of the Z transform]
* [https://www.youtube.com/watch?v=B4IyRw1zvvA A video-based explanation of the Z-Transform for engineers]
* [https://www.youtube.com/watch?v=B4IyRw1zvvA A video-based explanation of the Z-Transform for engineers]
Line 602: Line 576:


{{DSP}}
{{DSP}}
{{Authority control}}
{{authority control}}


[[Category:Transforms]]
[[Category:Transforms]]
[[Category:Laplace transforms]]
[[Category:Laplace transforms]]

Latest revision as of 21:15, 10 November 2025

Template:Short description Script error: No such module "Distinguish".

In mathematics and signal processing, the Z-transform converts a discrete-time signal, which is a sequence of real or complex numbers, into a complex valued frequency-domain (the z-domain or z-plane) representation.[1][2][3]

It can be considered a discrete-time counterpart of the Laplace transform (the s-domain or s-plane).[4] This similarity is explored in the theory of time-scale calculus.

While the continuous-time Fourier transform is evaluated on the s-domain's vertical axis (the imaginary axis), the discrete-time Fourier transform is evaluated along the z-domain's unit circle. The s-domain's left half-plane maps to the area inside the z-domain's unit circle, while the s-domain's right half-plane maps to the area outside of the z-domain's unit circle.

In signal processing, one of the means of designing digital filters is to take analog designs, subject them to a bilinear transform which maps them from the s-domain to the z-domain, and then produce the digital filter by inspection, manipulation, or numerical approximation. Such methods tend not to be accurate except in the vicinity of the complex unity, i.e. at low frequencies.

History

The foundational concept now recognized as the Z-transform, which is a cornerstone in the analysis and design of digital control systems, was not entirely novel when it emerged in the mid-20th century. Its embryonic principles can be traced back to the work of the French mathematician Pierre-Simon Laplace, who is better known for the Laplace transform, a closely related mathematical technique. However, the explicit formulation and application of what we now understand as the Z-transform were significantly advanced in 1947 by Witold Hurewicz and colleagues. Their work was motivated by the challenges presented by sampled-data control systems, which were becoming increasingly relevant in the context of radar technology during that period. The Z-transform provided a systematic and effective method for solving linear difference equations with constant coefficients, which are ubiquitous in the analysis of discrete-time signals and systems.[5][6]

The method was further refined and gained its official nomenclature, "the Z-transform", in 1952, thanks to the efforts of John R. Ragazzini and Lotfi A. Zadeh, who were part of the sampled-data control group at Columbia University. Their work not only solidified the mathematical framework of the Z-transform but also expanded its application scope, particularly in the field of electrical engineering and control systems.[7][8]

A notable extension, known as the modified or advanced Z-transform, was later introduced by Eliahu I. Jury. Jury's work extended the applicability and robustness of the Z-transform, especially in handling initial conditions and providing a more comprehensive framework for the analysis of digital control systems. This advanced formulation has played a pivotal role in the design and stability analysis of discrete-time control systems, contributing significantly to the field of digital signal processing.[9]Template:R

Interestingly, the conceptual underpinnings of the Z-transform intersect with a broader mathematical concept known as the method of generating functions, a powerful tool in combinatorics and probability theory. This connection was hinted at as early as 1730 by Abraham de Moivre, a pioneering figure in the development of probability theory. De Moivre utilized generating functions to solve problems in probability, laying the groundwork for what would eventually evolve into the Z-transform. From a mathematical perspective, the Z-transform can be viewed as a specific instance of a Laurent series, where the sequence of numbers under investigation is interpreted as the coefficients in the (Laurent) expansion of an analytic function. This perspective not only highlights the deep mathematical roots of the Z-transform but also illustrates its versatility and broad applicability across different branches of mathematics and engineering.Template:R

Definition

The Z-transform can be defined as either a one-sided or two-sided transform. (Just as we have the one-sided Laplace transform and the two-sided Laplace transform.)[10]

Bilateral Z-transform

The bilateral or two-sided Z-transform of a discrete-time signal x[n] is the formal power series X(z) defined as:

Template:Equation box 1 where n is an integer and z is, in general, a complex number. In polar form, z may be written as:

z=Aeiϕ=A(cosϕ+isinϕ)

where A is the magnitude of z, i is the imaginary unit, and ϕ is the complex argument (also referred to as angle or phase) in radians.

Unilateral Z-transform

Alternatively, in cases where x[n] is defined only for n0, the single-sided or unilateral Z-transform is defined as:

Template:Equation box 1

In signal processing, this definition can be used to evaluate the Z-transform of the unit impulse response of a discrete-time causal system.

An important example of the unilateral Z-transform is the probability-generating function, where the component x[n] is the probability that a discrete random variable takes the value. The properties of Z-transforms (listed in Template:Slink) have useful interpretations in the context of probability theory.

Inverse Z-transform

The inverse Z-transform is:

Template:Equation box 1 where C is a counterclockwise closed path encircling the origin and entirely in the region of convergence (ROC). In the case where the ROC is causal (see Example 2), this means the path C must encircle all of the poles of X(z).

A special case of this contour integral occurs when C is the unit circle. This contour can be used when the ROC includes the unit circle, which is always guaranteed when X(z) is stable, that is, when all the poles are inside the unit circle. With this contour, the inverse Z-transform simplifies to the inverse discrete-time Fourier transform, or Fourier series, of the periodic values of the Z-transform around the unit circle:

Template:Equation box 1

The Z-transform with a finite range of n and a finite number of uniformly spaced z values can be computed efficiently via Bluestein's FFT algorithm. The discrete-time Fourier transform (DTFT)—not to be confused with the discrete Fourier transform (DFT)—is a special case of such a Z-transform obtained by restricting z to lie on the unit circle.

The following three methods are often used for the evaluation of the inverse -transform,

Direct evaluation by contour integration

This method involves applying the Cauchy Residue Theorem to evaluate the inverse Z-transform. By integrating around a closed contour in the complex plane, the residues at the poles of the Z-transform function inside the ROC are summed. This technique is particularly useful when working with functions expressed in terms of complex variables.

Expansion into a series of terms in the variables z and z−1

In this method, the Z-transform is expanded into a power series. This approach is useful when the Z-transform function is rational, allowing for the approximation of the inverse by expanding into a series and determining the signal coefficients term by term.

Partial-fraction expansion and table lookup

This technique decomposes the Z-transform into a sum of simpler fractions, each corresponding to known Z-transform pairs. The inverse Z-transform is then determined by looking up each term in a standard table of Z-transform pairs. This method is widely used for its efficiency and simplicity, especially when the original function can be easily broken down into recognizable components.

Example

[11]

A) Determine the inverse Z-transform of the following by series expansion method, X(z)=111.5z1+0.5z2

Solution:

Case 1:

ROC: |Z|>1

Since the ROC is the exterior of a circle, x(n) is causal (signal existing for n ≥ 0). X(z)=1132z1+12z2=1+32z1+74z2+158z3+3116z4+.... thus, x(n)={1,32,74,158,3116} (arrow indicates term at x(0) = 1).

Note that in each step of long division process we eliminate lowest power term of z1.

Case 2:

ROC: |Z|<0.5

Since the ROC is the interior of a circle, x(n) is anticausal (signal existing for n < 0).

By performing long division we get X(z)=1132z1+12z2=2z2+6z3+14z4+30z5+

x(n)={30,14,6,2,0,0}   (arrow indicates term at x(0) = 0).

Note that in each step of long division process we eliminate lowest power term of z.

Note:

  1. When the signal is causal, we get positive powers of z and when the signal is anticausal, we get negative powers of z.
  2. zk indicates term at x(k) and zk indicates term at x(k).

B) Determine the inverse Z-transform of the following by series expansion method,

Eliminating negative powers if z and dividing by z, X(z)z=z2z(z21.5z+0.5)=zz21.5z+0.5

By partial fraction expansion, X(z)z=z(z1)(z0.5)=A1z0.5+A2z1A1=(z0.5)X(z)z|z=0.5=0.5(0.51)=1A2=(z1)X(z)z|z=1=110.5=2X(z)z=2z11z0.5

Case 1:

ROC:|Z|>1

Both the terms are causal, hence x(n) is causal.

x(n)=2(1)nu(n)1(0.5)nu(n)=(20.5n)u(n)

Case 2:

ROC: |Z|<0.5

Both the terms are anticausal, hence x(n) is anticausal.

x(n)=2(1)nu(n1)(1(0.5)nu(n1))=(0.5n2)u(n1)

Case 3:

ROC: 0.5<|Z|<1

One of the terms is causal (p=0.5 provides the causal part) and other is anticausal (p=1 provides the anticausal part), hence x(n) is both sided.

x(n)=2(1)nu(n1)1(0.5)nu(n)=2u(n1)0.5nu(n)

Region of convergence

Script error: No such module "Labelled list hatnote". The region of convergence (ROC) is the set of points in the complex plane for which the Z-transform summation absolutely converges:

ROC={z:n=|x[n]zn|<}

Example 1 (no ROC)

Let x[n]=(0.5)n . Expanding x[n] on the interval (,) it becomes

x[n]={,(0.5)3,(0.5)2,(0.5)1,1,(0.5),(0.5)2,(0.5)3,}={,23,22,2,1,(0.5),(0.5)2,(0.5)3,}.

Looking at the sum

n=x[n]zn.

Therefore, there are no values of z that satisfy this condition.

Example 2 (causal ROC)

File:Region of convergence 0.5 causal.svg
ROC (blue), Template:Abs = 0.5 (dashed black circle), and the unit circle (dotted grey circle).

Let x[n]=(0.5)nu[n] (where u is the Heaviside step function). Expanding x[n] on the interval (,) it becomes

x[n]={,0,0,0,1,(0.5),(0.5)2,(0.5)3,}.

Looking at the sum

n=x[n]zn=n=0(0.5)nzn=n=0(0.5z)n=11(0.5)z1.

The last equality arises from the infinite geometric series and the equality only holds if

|(0.5)z1|<1,

which can be rewritten in terms of

z

as

|z|>(0.5).

Thus, the ROC is

|z|>(0.5).

In this case the ROC is the complex plane with a disc of radius 0.5 at the origin "punched out".

Example 3 (anticausal ROC)

File:Region of convergence 0.5 anticausal.svg
ROC (blue), Template:Abs = 0.5 (dashed black circle), and the unit circle (dotted grey circle).

Let x[n]=(0.5)nu[n1] (where u is the Heaviside step function). Expanding x[n] on the interval (,) it becomes

x[n]={,(0.5)3,(0.5)2,(0.5)1,0,0,0,0,}.

Looking at the sum

n=x[n]zn=n=1(0.5)nzn=m=1(z0.5)m=(0.5)1z1(0.5)1z=1(.5)z11=11(0.5)z1

and using the infinite geometric series again, the equality only holds if |(0.5)1z|<1 which can be rewritten in terms of z as |z|<(0.5). Thus, the ROC is |z|<(0.5). In this case the ROC is a disc centered at the origin and of radius 0.5.

What differentiates this example from the previous example is only the ROC. This is intentional to demonstrate that the transform result alone is insufficient.

Examples conclusion

Examples 2 and 3 clearly show that the Z-transform X(z) of x[n] is unique when and only when specifying the ROC. Creating the pole–zero plot for the causal and anticausal case show that the ROC for either case does not include the pole that is at 0.5. This extends to cases with multiple poles: the ROC will never contain poles.

In example 2, the causal system yields a ROC that includes |z|= while the anticausal system in example 3 yields an ROC that includes |z|=0.

File:Region of convergence 0.5 0.75 mixed-causal.svg
ROC shown as a blue ring 0.5 < Template:Abs < 0.75

In systems with multiple poles it is possible to have a ROC that includes neither |z|= nor |z|=0. The ROC creates a circular band. For example,

x[n]=(0.5)nu[n](0.75)nu[n1]

has poles at 0.5 and 0.75. The ROC will be 0.5 < Template:Abs < 0.75, which includes neither the origin nor infinity. Such a system is called a mixed-causality system as it contains a causal term (0.5)nu[n] and an anticausal term (0.75)nu[n1].

The stability of a system can also be determined by knowing the ROC alone. If the ROC contains the unit circle (i.e., Template:Abs = 1) then the system is stable. In the above systems the causal system (Example 2) is stable because Template:Abs > 0.5 contains the unit circle.

Let us assume we are provided a Z-transform of a system without a ROC (i.e., an ambiguous x[n]). We can determine a unique x[n] provided we desire the following:

  • Stability
  • Causality

For stability the ROC must contain the unit circle. If we need a causal system then the ROC must contain infinity and the system function will be a right-sided sequence. If we need an anticausal system then the ROC must contain the origin and the system function will be a left-sided sequence. If we need both stability and causality, all the poles of the system function must be inside the unit circle.

The unique x[n] can then be found.

Properties

Properties of the z-transform

Property

Time domain Z-domain Proof ROC
Definition of Z-transform x[n] X(z) X(z)=𝒵{x[n]} (definition of the z-transform)

x[n]=𝒵1{X(z)} (definition of the inverse z-transform)

r2<|z|<r1
Linearity a1x1[n]+a2x2[n] a1X1(z)+a2X2(z) X(z)=n=(a1x1[n]+a2x2[n])zn=a1n=x1[n]zn+a2n=x2[n]zn=a1X1(z)+a2X2(z) Contains ROC1 ∩ ROC2
Time expansion xK[n]={x[r],n=Kr0,nK

with K:={Kr:r}

X(zK) XK(z)=n=xK[n]zn=r=x[r]zrK=r=x[r](zK)r=X(zK) R1K
Decimation x[Kn] 1Kp=0K1X(z1Kei2πKp) ohio-state.edu or ee.ic.ac.uk
Time delay x[nk]

with k>0 and x:x[n]=0 n<0

zkX(z) 𝒵{x[nk]}=n=0x[nk]zn=m=kx[m]z(m+k)m=nk=m=kx[m]zmzk=zkm=kx[m]zm=zkm=0x[m]zmx[β]=0,β<0=zkX(z) ROC, except z=0 if k>0 and z= if k<0
Time advance x[n+k]

with k>0

Bilateral Z-transform:

zkX(z) Unilateral Z-transform:[12] zkX(z)zkn=0k1x[n]zn

First difference backward x[n]x[n1]

with x[n]=0 for n<0

(1z1)X(z) Contains the intersection of ROC of X1(z) and z0
First difference forward x[n+1]x[n] (z1)X(z)zx[0]
Time reversal x[n] X(z1) 𝒵{x(n)}=n=x[n]zn=m=x[m]zm=m=x[m](z1)m=X(z1) 1r1<|z|<1r2
Scaling in the z-domain anx[n] X(a1z) 𝒵{anx[n]}=n=anx[n]zn=n=x[n](a1z)n=X(a1z) |a|r2<|z|<|a|r1
Complex conjugation x*[n] X*(z*) 𝒵{x*(n)}=n=x*[n]zn=n=[x[n](z*)n]*=[n=x[n](z*)n]*=X*(z*)
Real part Re{x[n]} 12[X(z)+X*(z*)]
Imaginary part Im{x[n]} 12i[X(z)X*(z*)]
Differentiation in the z-domain nx[n] zdX(z)dz 𝒵{nx(n)}=n=nx[n]zn=zn=nx[n]zn1=zn=x[n](nzn1)=zn=x[n]ddz(zn)=zdX(z)dz ROC, if X(z) is rational;

ROC possibly excluding the boundary, if X(z) is irrational[13]

Convolution x1[n]*x2[n] X1(z)X2(z) 𝒵{x1(n)*x2(n)}=𝒵{l=x1[l]x2[nl]}=n=[l=x1[l]x2[nl]]zn=l=x1[l][n=x2[nl]zn]=[l=x1(l)zl][n=x2[n]zn]=X1(z)X2(z) Contains ROC1 ∩ ROC2
Cross-correlation rx1,x2=x1*[n]*x2[n] Rx1,x2(z)=X1*(1z*)X2(z) Contains the intersection of ROC of X1(1z*) and X2(z)
Accumulation k=nx[k] 11z1X(z) n=k=nx[k]zn=n=(x[n]+)zn=X(z)(1+z1+z2+)=X(z)j=0zj=X(z)11z1
Multiplication x1[n]x2[n] 12πiCX1(v)X2(zv)v1dv -

Parseval's theorem

n=x1[n]x2*[n]=12πiCX1(v)X2*(1v*)v1dv

Initial value theorem: If x[n] is causal, then

x[0]=limzX(z).

Final value theorem: If the poles of (z1)X(z) are inside the unit circle, then

x[]=limz1(z1)X(z).

Table of common Z-transform pairs

Here:

u:nu[n]={1,n00,n<0

is the unit (or Heaviside) step function and

δ:nδ[n]={1,n=00,n0

is the discrete-time unit impulse function (cf. Dirac delta function, which is a continuous-time version). The two functions are chosen together so that the unit step function is the accumulation (running total) of the unit impulse function.

Signal, x[n] Z-transform, X(z) ROC
1 δ[n] 1 all z
2 δ[nn0] zn0 z0
3 u[n] 11z1 |z|>1
4 u[n1] 11z1 |z|<1
5 nu[n] z1(1z1)2 |z|>1
6 nu[n1] z1(1z1)2 |z|<1
7 n2u[n] z1(1+z1)(1z1)3 |z|>1
8 n2u[n1] z1(1+z1)(1z1)3 |z|<1
9 n3u[n] z1(1+4z1+z2)(1z1)4 |z|>1
10 n3u[n1] z1(1+4z1+z2)(1z1)4 |z|<1
11 anu[n] 11az1 |z|>|a|
12 anu[n1] 11az1 |z|<|a|
13 nanu[n] az1(1az1)2 |z|>|a|
14 nanu[n1] az1(1az1)2 |z|<|a|
15 n2anu[n] az1(1+az1)(1az1)3 |z|>|a|
16 n2anu[n1] az1(1+az1)(1az1)3 |z|<|a|
17 (n+m1m1)anu[n] [14] 1(1az1)m, for positive integer m[13] |z|>|a|
18 (1)m(n1m1)anu[nm] 1(1az1)m, for positive integer m[13] |z|<|a|
19 cos(ω0n)u[n] 1z1cos(ω0)12z1cos(ω0)+z2 |z|>1
20 sin(ω0n)u[n] z1sin(ω0)12z1cos(ω0)+z2 |z|>1
21 ancos(ω0n)u[n] 1az1cos(ω0)12az1cos(ω0)+a2z2 |z|>|a|
22 ansin(ω0n)u[n] az1sin(ω0)12az1cos(ω0)+a2z2 |z|>|a|

Relationship to Fourier series and Fourier transform

Script error: No such module "labelled list hatnote".

For values of z in the region |z|=1, known as the unit circle, we can express the transform as a function of a single real variable ω by defining z=eiω. And the bi-lateral transform reduces to a Fourier series:

Template:Equation box 1 which is also known as the discrete-time Fourier transform (DTFT) of the x[n] sequence. This 2π-periodic function is the periodic summation of a Fourier transform, which makes it a widely used analysis tool. To understand this, let X(f) be the Fourier transform of any function, x(t), whose samples at some interval T equal the x[n] sequence. Then the DTFT of the x[n] sequence can be written as follows.

Template:Equation box 1 where T has units of seconds, f has units of hertz. Comparison of the two series reveals that ω=2πfT is a normalized frequency with unit of radian per sample. The value ω=2π corresponds to f=1T. And now, with the substitution f=ω2πT, Template:EquationNote can be expressed in terms of X(ω2πk2πT) (a Fourier transform):

Template:Equation box 1

As parameter T changes, the individual terms of Template:EquationNote move farther apart or closer together along the f-axis. In Template:EquationNote however, the centers remain 2Template:Pi apart, while their widths expand or contract. When sequence x(nT) represents the impulse response of an LTI system, these functions are also known as its frequency response. When the x(nT) sequence is periodic, its DTFT is divergent at one or more harmonic frequencies, and zero at all other frequencies. This is often represented by the use of amplitude-variant Dirac delta functions at the harmonic frequencies. Due to periodicity, there are only a finite number of unique amplitudes, which are readily computed by the much simpler discrete Fourier transform (DFT). (See Template:Slink.)

Relationship to Laplace transform

Script error: No such module "labelled list hatnote".

Bilinear transform

Script error: No such module "Labelled list hatnote". The bilinear transform can be used to convert continuous-time filters (represented in the Laplace domain) into discrete-time filters (represented in the Z-domain), and vice versa. The following substitution is used:

s=2T(z1)(z+1)

to convert some function H(s) in the Laplace domain to a function H(z) in the Z-domain (Tustin transformation), or

z=esT1+sT/21sT/2

from the Z-domain to the Laplace domain. Through the bilinear transformation, the complex s-plane (of the Laplace transform) is mapped to the complex z-plane (of the z-transform). While this mapping is (necessarily) nonlinear, it is useful in that it maps the entire iω axis of the s-plane onto the unit circle in the z-plane. As such, the Fourier transform (which is the Laplace transform evaluated on the iω axis) becomes the discrete-time Fourier transform. This assumes that the Fourier transform exists; i.e., that the iω axis is in the region of convergence of the Laplace transform.

Starred transform

Script error: No such module "Labelled list hatnote". Given a one-sided Z-transform X(z) of a time-sampled function, the corresponding starred transform produces a Laplace transform and restores the dependence on T (the sampling parameter):

X*(s)=X(z)|z=esT

The inverse Laplace transform is a mathematical abstraction known as an impulse-sampled function.

Linear constant-coefficient difference equation

The linear constant-coefficient difference (LCCD) equation is a representation for a linear system based on the autoregressive moving-average equation:

p=0Ny[np]αp=q=0Mx[nq]βq.

Both sides of the above equation can be divided by α0 if it is not zero. By normalizing with α0=1, the LCCD equation can be written

y[n]=q=0Mx[nq]βqp=1Ny[np]αp.

This form of the LCCD equation is favorable to make it more explicit that the "current" output y[n] is a function of past outputs y[np], current input x[n], and previous inputs x[nq].

Transfer function

Taking the Z-transform of the above equation (using linearity and time-shifting laws) yields:

Y(z)p=0Nzpαp=X(z)q=0Mzqβq

where X(z) and Y(z) are the z-transform of x[n] and y[n], respectively. (Notation conventions typically use capitalized letters to refer to the z-transform of a signal denoted by a corresponding lower case letter, similar to the convention used for notating Laplace transforms.)

Rearranging results in the system's transfer function:

H(z)=Y(z)X(z)=q=0Mzqβqp=0Nzpαp=β0+z1β1+z2β2++zMβMα0+z1α1+z2α2++zNαN.

Zeros and poles

From the fundamental theorem of algebra the numerator has M roots (corresponding to zeros of H) and the denominator has N roots (corresponding to poles). Rewriting the transfer function in terms of zeros and poles

H(z)=(1q1z1)(1q2z1)(1qMz1)(1p1z1)(1p2z1)(1pNz1),

where qk is the kth zero and pk is the kth pole. The zeros and poles are commonly complex and when plotted on the complex plane (z-plane) it is called the pole–zero plot.

In addition, there may also exist zeros and poles at z=0 and z=. If we take these poles and zeros as well as multiple-order zeros and poles into consideration, the number of zeros and poles are always equal.

By factoring the denominator, partial fraction decomposition can be used, which can then be transformed back to the time domain. Doing so would result in the impulse response and the linear constant coefficient difference equation of the system.

Output response

If such a system H(z) is driven by a signal X(z) then the output is Y(z)=H(z)X(z). By performing partial fraction decomposition on Y(z) and then taking the inverse Z-transform the output y[n] can be found. In practice, it is often useful to fractionally decompose Y(z)z before multiplying that quantity by z to generate a form of Y(z) which has terms with easily computable inverse Z-transforms.

See also

References

Template:Reflist

Further reading

  • Refaat El Attar, Lecture notes on Z-Transform, Lulu Press, Morrisville NC, 2005. Template:Isbn.
  • Ogata, Katsuhiko, Discrete Time Control Systems 2nd Ed, Prentice-Hall Inc, 1995, 1987. Template:Isbn.
  • Alan V. Oppenheim and Ronald W. Schafer (1999). Discrete-Time Signal Processing, 2nd Edition, Prentice Hall Signal Processing Series. Template:Isbn.

External links

Template:DSP Template:Authority control

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "Citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".
  10. Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".
  12. Script error: No such module "citation/CS1".
  13. a b c Script error: No such module "Citation/CS1".