You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
miller-book/node107.html

274 lines
7.7 KiB

<!DOCTYPE html>
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<TITLE>Time shifts and phase changes</TITLE>
<META NAME="description" CONTENT="Time shifts and phase changes">
<META NAME="keywords" CONTENT="book">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="book.css">
<LINK REL="next" HREF="node108.html">
<LINK REL="previous" HREF="node105.html">
<LINK REL="up" HREF="node104.html">
<LINK REL="next" HREF="node108.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A ID="tex2html2157"
HREF="node108.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="next.png"></A>
<A ID="tex2html2151"
HREF="node104.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="up.png"></A>
<A ID="tex2html2145"
HREF="node106.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="prev.png"></A>
<A ID="tex2html2153"
HREF="node4.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="contents.png"></A>
<A ID="tex2html2155"
HREF="node201.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
SRC="index.png"></A>
<BR>
<B> Next:</B> <A ID="tex2html2158"
HREF="node108.html">Delay networks</A>
<B> Up:</B> <A ID="tex2html2152"
HREF="node104.html">Time shifts and delays</A>
<B> Previous:</B> <A ID="tex2html2146"
HREF="node106.html">Complex sinusoids</A>
&nbsp; <B> <A ID="tex2html2154"
HREF="node4.html">Contents</A></B>
&nbsp; <B> <A ID="tex2html2156"
HREF="node201.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><A ID="SECTION001120000000000000000"></A>
<A ID="sect7.phase"></A>
<BR>
Time shifts and phase changes
</H1>
<P>
Starting from any (real or complex) signal <IMG
WIDTH="36" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img669.png"
ALT="$X[n]$">, we can make other signals by
time shifting the signal <IMG
WIDTH="17" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img670.png"
ALT="$X$"> by a (positive or negative) integer <IMG
WIDTH="11" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img28.png"
ALT="$d$">:
<BR><P></P>
<DIV ALIGN="CENTER">
<!-- MATH
\begin{displaymath}
Y[n] = X[n-d]
\end{displaymath}
-->
<IMG
WIDTH="112" HEIGHT="28" BORDER="0"
SRC="img671.png"
ALT="\begin{displaymath}
Y[n] = X[n-d]
\end{displaymath}">
</DIV>
<BR CLEAR="ALL">
<P></P>
so that the <IMG
WIDTH="11" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img28.png"
ALT="$d$">th sample of <IMG
WIDTH="16" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img672.png"
ALT="$Y$"> is the 0th sample of <IMG
WIDTH="17" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img670.png"
ALT="$X$"> and so on. If the
integer <IMG
WIDTH="11" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img28.png"
ALT="$d$"> is positive, then <IMG
WIDTH="16" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img672.png"
ALT="$Y$"> is a delayed copy of <IMG
WIDTH="17" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img670.png"
ALT="$X$">. If
<IMG
WIDTH="11" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img28.png"
ALT="$d$"> is negative, then <IMG
WIDTH="16" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img672.png"
ALT="$Y$"> anticipates <IMG
WIDTH="17" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img670.png"
ALT="$X$">; this can be done to a recorded
sound but isn't practical as a real-time operation.
<P>
Time shifting is a linear operation (considered as a function of the input
signal <IMG
WIDTH="17" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img670.png"
ALT="$X$">); if you time shift a sum <IMG
WIDTH="63" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img673.png"
ALT="${X_1}+{X_2}$"> you get the same result as
if you time shift them separately and add afterward.
<P>
Time shifting has the
further property that, if you time shift a sinusoid of frequency <IMG
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
SRC="img27.png"
ALT="$\omega $">, the
result is another sinusoid of the same frequency; time shifting never
introduces frequencies that weren't present in the signal before it was
shifted. This property, called
<A ID="7855"></A><I>time invariance</I>,
makes it easy to analyze the effects of time shifts--and linear combinations
of them--by considering separately what the operations do on individual
sinusoids.
<P>
Furthermore, the effect of a time shift on a sinusoid is simple: it just
changes the phase. If we use a complex sinusoid, the effect is even simpler.
If for instance
<BR><P></P>
<DIV ALIGN="CENTER">
<!-- MATH
\begin{displaymath}
X[n] = A {Z^n}
\end{displaymath}
-->
<IMG
WIDTH="86" HEIGHT="28" BORDER="0"
SRC="img674.png"
ALT="\begin{displaymath}
X[n] = A {Z^n}
\end{displaymath}">
</DIV>
<BR CLEAR="ALL">
<P></P>
then
<BR><P></P>
<DIV ALIGN="CENTER">
<!-- MATH
\begin{displaymath}
Y[n] = X[n-d] = A {Z^{(n-d)}} = {Z^{-d}} A {Z^n} = {Z^{-d}} X[n]
\end{displaymath}
-->
<IMG
WIDTH="358" HEIGHT="28" BORDER="0"
SRC="img675.png"
ALT="\begin{displaymath}
Y[n] = X[n-d] = A {Z^{(n-d)}} = {Z^{-d}} A {Z^n} = {Z^{-d}} X[n]
\end{displaymath}">
</DIV>
<BR CLEAR="ALL">
<P></P>
so time shifting a complex sinusoid by <IMG
WIDTH="11" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img28.png"
ALT="$d$"> samples is the same thing as
scaling it by <IMG
WIDTH="32" HEIGHT="17" ALIGN="BOTTOM" BORDER="0"
SRC="img676.png"
ALT="${Z^{-d}}$">--it's just an amplitude change by a particular
complex number. Since <IMG
WIDTH="53" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img22.png"
ALT="$\vert Z\vert=1$"> for a sinusoid, the amplitude change does not
change the magnitude of the sinusoid, only its phase.
<P>
The phase change is equal to <IMG
WIDTH="34" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img677.png"
ALT="$- d \omega$">, where <!-- MATH
$\omega = \angle(Z)$
-->
<IMG
WIDTH="69" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
SRC="img678.png"
ALT="$\omega = \angle(Z)$"> is
the angular frequency of the sinusoid. This is exactly what we should expect
since the sinusoid advances <IMG
WIDTH="14" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
SRC="img27.png"
ALT="$\omega $"> radians per sample and it is offset
(i.e., delayed) by <IMG
WIDTH="11" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img28.png"
ALT="$d$"> samples.
<P>
<HR>
<!--Navigation Panel-->
<A ID="tex2html2157"
HREF="node108.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="next.png"></A>
<A ID="tex2html2151"
HREF="node104.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="up.png"></A>
<A ID="tex2html2145"
HREF="node106.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="prev.png"></A>
<A ID="tex2html2153"
HREF="node4.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="contents.png"></A>
<A ID="tex2html2155"
HREF="node201.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
SRC="index.png"></A>
<BR>
<B> Next:</B> <A ID="tex2html2158"
HREF="node108.html">Delay networks</A>
<B> Up:</B> <A ID="tex2html2152"
HREF="node104.html">Time shifts and delays</A>
<B> Previous:</B> <A ID="tex2html2146"
HREF="node106.html">Complex sinusoids</A>
&nbsp; <B> <A ID="tex2html2154"
HREF="node4.html">Contents</A></B>
&nbsp; <B> <A ID="tex2html2156"
HREF="node201.html">Index</A></B>
<!--End of Navigation Panel-->
<ADDRESS>
Miller Puckette
2006-12-30
</ADDRESS>
</BODY>
</HTML>