<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m0066">

  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">The Periodic Pulse Signal</name>

  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2.5</md:version>
  <md:created xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2000/10/05</md:created>
  <md:revised xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2004/08/10 13:24:17.215 GMT-5</md:revised>
  <md:authorlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="dhj">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Don</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Johnson</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">dhj@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="dhj">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Don</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Johnson</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">dhj@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="rainking">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Doug</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Daniels</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">rainking@alumni.rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Fourier</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Signal</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">spectrum</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Periodic</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Pulse</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">coeffiecients</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">This module examines the spectrum of the periodic pulse signal.</md:abstract>
</metadata>
  <content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">


    <section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="example">
      <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Example</name>

      <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="pps">
	<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="sig14.png"/>
	<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> Periodic pulse signal.</caption>
      </figure>
      <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para1">
	Let's calculate the spectrum of the periodic pulse signal
	shown here. The pulse width is
	
	<m:math display="inline">
	  <m:ci>Δ</m:ci>
	</m:math>
	, the period 
	
	<m:math display="inline">
	  <m:ci>T</m:ci>
	</m:math>
	, and the amplitude 
	
	<m:math display="inline">
	  <m:ci>A</m:ci>
	</m:math>.
	The complex Fourier spectrum of this signal is given by
	
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
	    <m:ci><m:msub>
		<m:mi>c</m:mi>
		<m:mi>k</m:mi>
	      </m:msub></m:ci>
	    <m:apply><m:times/>
	      <m:apply><m:divide/>
		<m:ci>A</m:ci>
		<m:ci>T</m:ci>
	      </m:apply>
	      <m:apply>
		<m:int/>
		<m:bvar><m:ci>t</m:ci></m:bvar>
		<m:lowlimit><m:cn>0</m:cn></m:lowlimit>
		<m:uplimit><m:ci>Δ</m:ci></m:uplimit>
		<m:apply>
		  <m:exp/>
		  <m:apply><m:times/>
		    <m:apply><m:minus/>
		      <m:imaginaryi/>
		    </m:apply>
		    <m:apply><m:divide/>
		      <m:apply><m:times/>
			<m:cn>2</m:cn>
			<m:pi/>
			<m:ci>k</m:ci>
			<m:ci>Δ</m:ci>
		      </m:apply>
		      <m:ci>T</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	    <m:apply><m:times/>
	      <m:apply><m:minus/>
		<m:apply><m:divide/>
		  <m:ci>A</m:ci>
		  <m:apply><m:times/>
		    <m:imaginaryi/>
		    <m:cn>2</m:cn>
		    <m:pi/>
		    <m:ci>k</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply><m:minus/>
		<m:apply><m:exp/>
		  <m:apply><m:times/>
		    <m:apply><m:minus/>
		      <m:imaginaryi/>
		    </m:apply>
		    <m:apply><m:divide/>
		      <m:apply><m:times/>
			<m:cn>2</m:cn>
			<m:pi/>
			<m:ci>k</m:ci>
			<m:ci>Δ</m:ci>
		      </m:apply>
		      <m:ci>T</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
	
	At this point, simplifying this expression requires knowing an
	interesting property.
	
	<equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eqn1">
	  <m:math display="block">
	    <m:apply>
	      <m:eq/>
	      <m:apply><m:minus/>
		<m:cn>1</m:cn>
		<m:apply><m:exp/>
		  <m:apply><m:minus/>
		    <m:apply><m:times/>
		      <m:imaginaryi/>
		      <m:ci>θ</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply><m:times/>
		<m:apply><m:exp/>
		  <m:apply><m:minus/>
		    <m:apply><m:divide/>
		      <m:apply><m:times/>
			<m:imaginaryi/>
			<m:ci>θ</m:ci>
		      </m:apply>
		      <m:cn>2</m:cn>
		    </m:apply>
		  </m:apply>
		</m:apply>
		<m:apply><m:minus/>
		  <m:apply><m:exp/>
		    <m:apply><m:plus/>
		      <m:apply><m:divide/>
			<m:apply><m:times/>
			  <m:imaginaryi/>
			  <m:ci>θ</m:ci>
			</m:apply>
			<m:cn>2</m:cn>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		  <m:apply><m:exp/>
		    <m:apply><m:minus/>
		      <m:apply><m:divide/>
			<m:apply><m:times/>
			  <m:imaginaryi/>
			  <m:ci>θ</m:ci>
			</m:apply>
			<m:cn>2</m:cn>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply><m:times/>
		<m:apply><m:exp/>
		  <m:apply><m:minus/>
		    <m:apply><m:divide/>
		      <m:apply><m:times/>
			<m:imaginaryi/>
			<m:ci>θ</m:ci>
		      </m:apply>
		      <m:cn>2</m:cn>
		    </m:apply>
		  </m:apply>
		</m:apply>
		<m:cn>2</m:cn>
		<m:imaginaryi/>
		<m:apply><m:sin/>
		  <m:apply>
		    <m:divide/>
		    <m:ci>θ</m:ci>
		    <m:cn>2</m:cn>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
	
	Armed with this result, we can simply express the Fourier
	series coefficients for our pulse sequence.
	
	<equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="pulsespec">
	  <m:math display="block">
	    <m:apply>
	      <m:eq/>
	      <m:ci><m:msub>
		  <m:mi>c</m:mi>
		  <m:mi>k</m:mi>
		</m:msub></m:ci>
	      <m:apply><m:times/>
		<m:ci>A</m:ci>
		<m:apply><m:exp/>
		  <m:apply><m:times/>
		    <m:apply><m:minus/>
		      <m:imaginaryi/>
		    </m:apply>
		    <m:apply><m:divide/>
		      <m:apply><m:times/>
			<m:pi/>
			<m:ci>k</m:ci>
			<m:ci>Δ</m:ci>
		      </m:apply>
		      <m:ci>T</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
		<m:apply><m:divide/>
		  <m:apply><m:sin/>
		    <m:apply><m:divide/>
		      <m:apply><m:times/>
			<m:pi/>
			<m:ci>k</m:ci>
			<m:ci>Δ</m:ci>
		      </m:apply>
		      <m:ci>T</m:ci>
		    </m:apply>
		  </m:apply>
		  <m:apply><m:times/>
		    <m:pi/>
		    <m:ci>k</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
	
	Because this signal is real-valued, we find that the
	coefficients do indeed have conjugate symmetry:
	
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
	    <m:ci><m:msub>
		<m:mi>c</m:mi>
		<m:mi>k</m:mi>
	      </m:msub></m:ci>
	    <m:apply>
	      <m:conjugate/>
	      <m:ci><m:msub>
		  <m:mi>c</m:mi>
		  <m:mrow>
		    <m:mo>−</m:mo>
		    <m:mi>k</m:mi>
		  </m:mrow>
		</m:msub></m:ci>
	    </m:apply>
	  </m:apply>
	</m:math>.
	
	The periodic pulse signal has neither even nor odd symmetry;
	consequently, no additional symmetry exists in the
	spectrum. Because the spectrum is complex valued, to plot it
	we need to calculate its magnitude and phase.
	
	<equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eqn2">
	  <m:math display="block">
	    <m:apply>
	      <m:eq/>
	      <m:apply><m:abs/>
		<m:ci><m:msub>
		    <m:mi>c</m:mi>
		    <m:mi>k</m:mi>
		  </m:msub></m:ci>   
	      </m:apply>
	      <m:apply><m:times/>
		<m:ci>A</m:ci>
		<m:apply><m:abs/>
		  <m:apply><m:divide/>
		    <m:apply><m:sin/>
		      <m:apply><m:divide/>
			<m:apply><m:times/>
			  <m:pi/>
			  <m:ci>k</m:ci>
			  <m:ci>Δ</m:ci>
			</m:apply>
			<m:ci>T</m:ci>
		      </m:apply>
		    </m:apply>
		    <m:apply><m:times/>
		      <m:pi/>
		      <m:ci>k</m:ci>
		    </m:apply>
		  </m:apply> 
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
	
	<equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="ang">
	  <m:math display="block">
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:arg/>
		<m:ci><m:msub>
		    <m:mi>c</m:mi>
		    <m:mi>k</m:mi>
		  </m:msub></m:ci>
	      </m:apply>
	      <m:apply><m:plus/>
		<m:apply><m:minus/>
		  <m:apply><m:divide/>
		    <m:apply><m:times/>
		      <m:pi/>
		      <m:ci>k</m:ci>
		      <m:ci>Δ</m:ci>
		    </m:apply>
		    <m:ci>T</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply><m:times/>
		  <m:pi/>
		  <m:apply>
		    <m:ci type="fn">neg</m:ci>
		    <m:apply><m:divide/>
		      <m:apply><m:sin/>
			<m:apply><m:divide/>
			  <m:apply><m:times/>
			    <m:pi/>
			    <m:ci>k</m:ci>
			    <m:ci>Δ</m:ci>
			  </m:apply>
			  <m:ci>T</m:ci>
			</m:apply>
		      </m:apply>
		      <m:apply><m:times/>
			<m:pi/>
			<m:ci>k</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		  <m:apply>
		    <m:ci type="fn">sign</m:ci>
		    <m:ci>k</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
      </para>
      
      <exercise xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="exer1">
	<problem xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="probpara1">
	    What is the value of 
	    
	    <m:math display="inline">
	      <m:ci><m:msub>
		  <m:mi>c</m:mi>
		  <m:mn>0</m:mn>
		</m:msub></m:ci>
	    </m:math>?
	    
	    Recalling that this spectral coefficient corresponds to
	    the signal's average value, does your answer make sense?
	  </para>
	</problem>
	
	<solution xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	  <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="solpara1">
	    <m:math display="inline">
	      <m:apply>
		<m:eq/>
		<m:ci><m:msub>
		    <m:mi>c</m:mi>
		    <m:mn>0</m:mn>
		  </m:msub></m:ci>
		<m:apply><m:divide/>
		  <m:apply><m:times/>
		    <m:ci>A</m:ci>
		    <m:ci>Δ</m:ci>
		  </m:apply>
		  <m:ci>T</m:ci>
		</m:apply>
	      </m:apply>
	    </m:math>
	    . This quantity clearly corresponds to the periodic pulse 
	    signal's average value.
	    
	  </para>
	</solution>
      </exercise>
      
      <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para2">
	The somewhat complicated expression for the phase results because
	the sine term can be negative; magnitudes must be positive, leaving
	the occasional negative values to be accounted for as a phase shift of
	
	<m:math display="inline">
	  <m:pi/>
	</m:math>.  The 
	
	<m:math display="inline">
	  <m:apply>
	    <m:ci type="fn">neg</m:ci>
	    <m:ci>·</m:ci>
	  </m:apply>
	</m:math>
	
	equals -1 if its argument is negative and zero otherwise. 
      </para>
      
      <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="periodic">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Periodic Pulse Sequence</name> <media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="spectrum3.png"/> <caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"> The magnitude and phase of the
	periodic pulse sequence's spectrum is shown for
	positive-frequency indices.  Here
	  
	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:apply><m:divide/>
		<m:ci>Δ</m:ci>
		<m:ci>T</m:ci>
	      </m:apply>
	      <m:cn>0.2</m:cn>
	    </m:apply>
	  </m:math>
	  
	  and   
	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:ci>A</m:ci>
	      <m:cn>1</m:cn>
	    </m:apply>
	  </m:math>.
	</caption>
      </figure>
      
      <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para3">
	Also note the presence of a linear phase term (the first term in
	
	<m:math display="inline">
	  <m:apply>
	    <m:arg/>
	    <m:ci><m:msub>
		<m:mi>c</m:mi>
		<m:mi>k</m:mi>
	      </m:msub></m:ci>
	  </m:apply>
	</m:math>
	is proportional to frequency 
	
	<m:math display="inline">
	  <m:apply><m:divide/>
	    <m:ci>k</m:ci>
	    <m:ci>T</m:ci>
	  </m:apply>
	</m:math>.  Comparing this term with that predicted from
	delaying a signal, a delay of
	
	<m:math display="inline">
	  <m:apply><m:divide/>
	    <m:ci>Δ</m:ci>
	    <m:cn>2</m:cn>
	  </m:apply>
	</m:math>
	is present in our signal. Advancing the signal by this amount
	centers the pulse about the origin, leaving an even signal,
	which in turn means that its spectrum is real-valued.  Thus,
	our calculated spectrum is consistent with the properties of
	the Fourier spectrum.
      </para>
    </section>

    <exercise xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="exer2">
      <problem xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="probpara2">
	  Investigate the half-wave rectified sine wave's spectrum for
	  a linear phase term. If one is present, show how to delay or
	  advance the signal to create an even or odd signal. If one
	  is not present, convince yourself that no delay would yield
	  a signal having even or odd symmetry.
	</para>
      </problem>
      <solution xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="solpara2">
	  A half-wave rectified sine wave occurs when

	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:ci>Δ</m:ci>
	      <m:apply><m:divide/>
		<m:ci>T</m:ci>
		<m:cn>2</m:cn>
	      </m:apply>
	    </m:apply>
	  </m:math>.
	  Thus,

	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:conjugate/>
		<m:ci><m:msub>
		    <m:mi>c</m:mi>
		    <m:mi>k</m:mi>
		  </m:msub></m:ci>
	      </m:apply>
	      <m:apply><m:minus/>
		<m:apply><m:minus/>
		  <m:apply><m:divide/>
		    <m:apply><m:times/>
		      <m:pi/>
		      <m:ci>k</m:ci>
		    </m:apply>
		    <m:cn>2</m:cn>
		  </m:apply>
		</m:apply>
		<m:apply><m:times/>
		  <m:pi/>
		  <m:apply>
		    <m:ci type="fn">neg</m:ci>
		    <m:apply><m:divide/>
		      <m:apply><m:sin/>
			<m:apply><m:divide/>
			  <m:apply><m:times/>
			    <m:pi/>
			    <m:ci>k</m:ci>
			  </m:apply>
			  <m:cn>2</m:cn>
			</m:apply>
		      </m:apply>
		      <m:apply><m:times/>
			<m:pi/>
			<m:ci>k</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	  , which corresponds to a linear function of 

	  <m:math display="inline">
	    <m:ci>k</m:ci>
	  </m:math>.

	  The linear phase can be removed by delaying the signal by

	  <m:math display="inline">
	    <m:apply><m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>4</m:cn>
	    </m:apply>
	  </m:math>
	  of a period.
	</para>
      </solution>
    </exercise>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para4">
      The phase plot shown in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" target="periodic" strength="9"/> 
      requires some explanation as it does not seem to agree with what 
      <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" target="ang" strength="9"/> suggests. There, the phase has 
      a linear component, with a jump of

      <m:math display="inline">
	<m:pi/>
      </m:math>
      every time the sinusoidal term changes sign. We must realize that 
      any integer multiple of

      <m:math display="inline">
	<m:apply><m:times/>
	  <m:cn>2</m:cn>
	  <m:pi/>
	</m:apply>
      </m:math>

      can be added to a phase at each frequency <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">without
      </emphasis> affecting the value of the complex spectrum. We see
      that at frequency index 4 the phase is nearly

      <m:math display="inline">
	<m:apply><m:minus/>
	  <m:pi/>
	</m:apply>
      </m:math>

      The phase at index 5 is undefined because the magnitude is zero
      in this example.  At index 6, the formula suggests that the
      phase of the linear term should be less than (more negative)
      than

      <m:math display="inline">
	<m:apply><m:minus/>
	  <m:pi/>
	</m:apply>
      </m:math>
      .  In addition, we expect a shift of

      <m:math display="inline">
	<m:apply><m:minus/>
	  <m:pi/>
	</m:apply>
      </m:math>

      in the phase between indices 4 and 6. Thus, the phase value
      predicted by the formula is a little less than

      <m:math display="inline">
	<m:apply><m:minus/>
	  <m:apply><m:times/>
	    <m:cn>2</m:cn>
	    <m:pi/>
	  </m:apply>
	</m:apply>
      </m:math>
      .  Because we can add

      <m:math display="inline">
	<m:apply><m:times/>
	  <m:cn>2</m:cn>
	  <m:pi/>
	</m:apply>
      </m:math>
      
      without affecting the value of the spectrum at index 6, the
      result is a slightly negative number as shown. Thus, the formula
      and the plot do agree. In phase calculations like those made in
      MATLAB, values are usually confined to the range

      <m:math display="inline">
	<m:interval closure="closed-open">
	  <m:apply><m:minus/>
	    <m:pi/>
	  </m:apply>
	  <m:pi/>
	</m:interval>
      </m:math>

      by adding some (possibly negative) multiple of

      <m:math display="inline">
	<m:apply><m:times/>
	  <m:cn>2</m:cn>
	  <m:pi/>
	</m:apply>
      </m:math>
      to each phase value.
    </para>

  </content>
</document>
