<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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="m10620">
  
  <name>Lab 2: Prelab (Part 1)</name>
  <metadata>
  <md:version>1.1</md:version>
  <md:created>2006/07/26 10:59:03.192 GMT-5</md:created>
  <md:revised>2006/08/20 21:37:13.733 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="tbshen">
      <md:firstname>Thomas</md:firstname>
      
      <md:surname>Shen</md:surname>
      <md:email>tbshen@uiuc.edu</md:email>
    </md:author>
      <md:author id="dljones">
      <md:firstname>Douglas</md:firstname>
      <md:othername>L.</md:othername>
      <md:surname>Jones</md:surname>
      <md:email>dl-jones@uiuc.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="tbshen">
      <md:firstname>Thomas</md:firstname>
      
      <md:surname>Shen</md:surname>
      <md:email>tbshen@uiuc.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>aliasing</md:keyword>
    <md:keyword>downsampling</md:keyword>
    <md:keyword>DSP</md:keyword>
    <md:keyword>imaging</md:keyword>
    <md:keyword>multirate</md:keyword>
    <md:keyword>sample-rate compressor</md:keyword>
    <md:keyword>sample-rate expander</md:keyword>
    <md:keyword>upsampling</md:keyword>
  </md:keywordlist>

  <md:abstract>You will work through an example problem that explores the effects of sample-rate compression and expansion on the spectrum of a signal.</md:abstract>
</metadata>







  <content>
    <section id="sec2a">
      <name>Multirate Theory Exercise</name>
      <para id="p4">
	Consider a sampled signal with the DTFT 
	<m:math>
	  <m:apply>
	    <m:ci type="fn">X</m:ci>
	    <m:ci>ω</m:ci>
	  </m:apply>
	</m:math>
	shown in <cnxn target="fig2"/>.
      </para>

      <figure id="fig2">
	<media type="image/png" src="prelab_input.png"/>
	<caption>DTFT of the input signal.</caption>
      </figure>

      <para id="p5">
	Assuming 
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:ci>U</m:ci>
	    <m:ci>D</m:ci>
	    <m:cn>3</m:cn>
	  </m:apply>
	</m:math>, use the relations between the DTFT of a signal
	before and after sample-rate compression and expansion
	(<cnxn target="eqn1"/> and <cnxn target="eqn2"/>) to sketch
	the DTFT response of the signal as it passes through the
	multirate system of <cnxn target="fig3"/> (without any
	filtering).  Include both the intermediate response
	<m:math>
	  <m:apply>
	    <m:ci type="fn">W</m:ci>
	    <m:ci>ω</m:ci>
	  </m:apply>
	</m:math> and the final response
	<m:math>
	  <m:apply>
	    <m:ci type="fn">Y</m:ci>
	    <m:ci>ω</m:ci>
	  </m:apply>
        </m:math>.  It is important to be aware that the translation
        from digital frequency 
        <m:math>
          <m:ci>ω</m:ci>
        </m:math> to analog frequency depends on the sampling rate.
        Therefore, the conversion is different for 
        <m:math>
          <m:apply>
            <m:ci type="fn">X</m:ci>
            <m:ci>ω</m:ci>
          </m:apply>
        </m:math> and
        <m:math>
          <m:apply>
            <m:ci type="fn">W</m:ci>
            <m:ci>ω</m:ci>
          </m:apply>
        </m:math>.
      </para>
      
      <equation id="eqn1">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn">W</m:ci>
	      <m:ci>ω</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:ci>D</m:ci>
	      </m:apply>
	      <m:apply>
		<m:sum/>
		<m:bvar>
		  <m:ci>k</m:ci>
		</m:bvar>
		<m:lowlimit>
		  <m:cn>0</m:cn>
		</m:lowlimit>
		<m:uplimit>
		  <m:apply>
		    <m:minus/>
		    <m:ci>D</m:ci>
		    <m:cn>1</m:cn>
		  </m:apply>
		</m:uplimit>
		<m:apply>
		  <m:ci type="fn">X</m:ci>
		  <m:apply>
		    <m:divide/>
		    <m:apply>
		      <m:plus/>
		      <m:ci>ω</m:ci>
		      <m:apply>
			<m:times/>
			<m:cn>2</m:cn>
			<m:pi/>
			<m:ci>k</m:ci>
		      </m:apply>
		    </m:apply>
		    <m:ci>D</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>

      <equation id="eqn2">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn">Y</m:ci>
	      <m:ci>ω</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:ci type="fn">W</m:ci>
	      <m:apply>
		<m:times/>
		<m:ci>U</m:ci>
		<m:ci>ω</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>

      <figure id="fig3">
	<media type="image/png" src="prelab_sys.png"/>
	<caption>Multirate System</caption>
      </figure>
    </section>

  </content>
</document>
