<?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:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="m11477">
  <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/">Frequency definitions and periodicity</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/">1.13</md:version>
  <md:created xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2003/07/23 06:01:33 GMT-5</md:created>
  <md:revised xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2004/01/08 15:27:05.764 US/Central</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="Anders">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Anders</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Gjendemsjo</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">gjendems@NO-SPAM.tele.ntnu.no</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="Anders">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Anders</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Gjendemsjo</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">gjendems@NO-SPAM.tele.ntnu.no</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/">Frequency</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Definitions</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Periodicity</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Overview of frequency definitons, both analog and digital. Periodicity.</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="s1">
      <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/">Frequency definitions</name>
      <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="s1p1">
          In signal processing we use several types of frequencies. This may seem confusing at first,
	  but it is really not that difficult.
      </para>
      <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="s1s1">
	  <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/">Analog frequency</name>
	  <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="s1s1p1">
	      The <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/">frequency</emphasis> of an analog signal is the easiest to understand.
	      A trigonometric function with argument
	      <m:math>
	          <m:apply>
		      <m:eq/>
		      <m:apply>
		          <m:times/>
			  <m:ci>Ω</m:ci>
			  <m:ci>t</m:ci>
		      </m:apply>
		      <m:apply>
			  <m:times/>
		          <m:cn>2</m:cn>
			  <m:pi/>
			  <m:ci>F</m:ci>
			  <m:ci>t</m:ci>
		      </m:apply>
		  </m:apply>
	      </m:math>
	      generates a periodic function with 
	      <list 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="l1">
	          <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">a <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/">single</emphasis> frequency F.</item>
		  <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">period T</item>
		  <item 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 relation 
		      <m:math>
			  <m:apply>
			      <m:eq/>
			      <m:ci>T</m:ci>
			      <m:apply>
				  <m:divide/>
				  <m:cn>1</m:cn>
				  <m:ci>F</m:ci>
			      </m:apply>
			  </m:apply>
		      </m:math>
		  </item>
	      </list>
	      Frequency is then interpreted as how many periods there are per time unit.
	      If we choose seconds as our time unit, frequency will be measured in Hertz, which is most common.
	  </para>
      </section>

      <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="s1s2">
	  <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/">Digital frequency</name>
	  <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="s1s2p1">
	      The <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/">digital frequency</emphasis> is defined as
	      <m:math>
		  <m:apply>
		      <m:eq/>
		      <m:ci>f</m:ci>
		      <m:apply>
		      	  <m:divide/>
			  <m:ci>F</m:ci>
			  <m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      </m:apply>
		    </m:apply>
	      </m:math>,
	      where <m:math><m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci></m:math>
	      is the sampling frequency.
	      The sampling interval is the inverse of the sampling frequency,
	      <m:math>
		  <m:apply>
		      <m:eq/>
		      <m:ci><m:msub><m:mi>T</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      <m:apply>
		      	  <m:divide/>
			  <m:cn>1</m:cn>
			  <m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      </m:apply>
		    </m:apply>
	      </m:math>.
	      A discrete time signal with <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/">digital frequency</emphasis> f therefore has
	      a frequency given by
	      <m:math>
		  <m:apply>
		      <m:eq/>
		      <m:ci>F</m:ci>
		      <m:apply>
		      	  <m:times/>
			  <m:ci>f</m:ci>
			  <m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      </m:apply>
		    </m:apply>
	      </m:math>
	      if the samples are spaced at
	      <m:math>
		  <m:apply>
		      <m:eq/>
		      <m:ci><m:msub><m:mi>T</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      <m:apply>
		      	  <m:divide/>
			  <m:cn>1</m:cn>
			  <m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      </m:apply>
		    </m:apply>
	      </m:math>.
	  </para>
      </section>

      <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="s1s3">
	  <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/">Consequences</name>
	  <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="s1s3p1">
	      In design of digital sinusoids we do not have to settle for a physical
	      frequency. We can associate <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/">any</emphasis> physical frequency F
	      with the digital frequency f, by choosing the appropriate sampling
	      frequency
	      <m:math><m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci></m:math>.
	      (Using the relation
	      <m:math>
		  <m:apply>
		      <m:eq/>
		      <m:ci>f</m:ci>
		      <m:apply>
		      	  <m:divide/>
			  <m:ci>F</m:ci>
			  <m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      </m:apply>
		    </m:apply>
	      </m:math>)
	  </para>
	  <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="s1s3p2">
	      According to the relation
	      <m:math>
		  <m:apply>
		      <m:eq/>
		      <m:ci><m:msub><m:mi>T</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      <m:apply>
			  <m:divide/>
			  <m:cn>1</m:cn>
			  <m:ci><m:msub><m:mi>F</m:mi><m:mi>s</m:mi></m:msub></m:ci>
		      </m:apply>
		  </m:apply>
	      </m:math>
	      choosing an appropriate sampling frequency is equivivalent to choosing
	      a sampling interval, which implies that digital sinusoids can
	      be designed by specifying the sampling interval.
	  </para>
      </section>

      <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="s1s4">
	  <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/">Angular frequencies</name>
	  <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="s1s4p1">
	      The angular frequencies are obtained by multiplying the
	      frequencies by the factor <m:math><m:apply><m:times/><m:cn>2</m:cn><m:pi/></m:apply></m:math>:
	      <list 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="l2" type="named-item">
	      <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/">Angular frequency</name>
		  <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:ci>Ω</m:ci>
			  <m:apply>
			      <m:times/>
			      <m:cn>2</m:cn>
			      <m:pi/>
			      <m:ci>F</m:ci>
			  </m:apply>
		      </m:apply>
	          </m:math>
	      </item>
	      <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/">Digital angular frequency</name>
		  <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:ci>ω</m:ci>
			  <m:apply>
			      <m:times/>
			      <m:cn>2</m:cn>
			      <m:pi/>
			      <m:ci>f</m:ci>
			  </m:apply>
		      </m:apply>
	          </m:math>
	      </item>
	      </list>
	  </para>
	  
      </section>


  </section>

  <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="s2">
      <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/">Signal periodicity</name>
      <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="s2p1">
          Any analog sine or cosine function is periodic. So it may seem surprising
	  that discrete trigonometric signals not necessarily are periodic. Let us define
	  periodicity mathematically.
      </para>
      <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="s2p2">

          If for all
	  <m:math>
	      <m:apply>
	          <m:in/>
		  <m:ci>k</m:ci>
		  <m:ci>ℤ</m:ci>
	      </m:apply>
	  </m:math> we have
	  <list 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="l3" type="named-item">
	      <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/">Analog signals</name>
	          <m:math>
		      <m:apply>
		          <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>t</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:apply>
				  <m:plus/>
				  <m:ci>n</m:ci>
				  <m:apply>
				      <m:times/>
				      <m:ci>k</m:ci>
				      <m:ci><m:msub><m:mi>T</m:mi><m:mn>0</m:mn></m:msub></m:ci>
				  </m:apply>
			      </m:apply>
			  </m:apply>
		      </m:apply>
		  </m:math>, then <m:math><m:apply><m:ci>x</m:ci><m:ci>t</m:ci></m:apply></m:math> is periodic
		  with period <m:math><m:ci><m:msub><m:mi>T</m:mi><m:mn>0</m:mn></m:msub></m:ci></m:math>. 
	      </item>
	      <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/">Discrete time signals</name>
	          <m:math>
		      <m:apply>
		          <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>n</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:apply>
				  <m:plus/>
				  <m:ci>n</m:ci>
				  <m:apply>
				      <m:times/>
				      <m:ci>k</m:ci>
				      <m:ci>N</m:ci>	
				  </m:apply>
			      </m:apply>
			  </m:apply>
		      </m:apply>
		  </m:math>, then <m:math><m:apply><m:ci>x</m:ci><m:ci>n</m:ci></m:apply></m:math> is periodic with period N.
	      </item>
	  </list>
      </para>
	  <example 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="exa1">
	      <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="exa1p1">
		    Consider the signal
		    <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>t</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:sin/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:pi/>
				  <m:ci>F</m:ci>
				  <m:ci>t</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math> which obviously is periodic. You can check by using the periodicity definition
		    and some 
		    <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" src="http://www.sosmath.com/trig/Trig5/trig5/trig5.html">trigonometric identitites</link>.
	      </para>
	  </example>
	  <example 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="exa2">
	      <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="exa2p1">
		    Consider the signal
		    <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>n</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:sin/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:pi/>
				  <m:ci>f</m:ci>
				  <m:ci>n</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math>. Q:Is this signal periodic? 
	      </para>
	      <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="exa2p2">	    
		    A: To check we will use the periodicity definition and some 
		    <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" src="http://www.sosmath.com/trig/Trig5/trig5/trig5.html">trigonometric identities</link>.
	      </para>
	      <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="exa2p3">
	          Periodicity is obtained if we can find an N which leads to
		  <m:math>
		      <m:apply>
		          <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>n</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:apply>
				  <m:plus/>
				  <m:ci>n</m:ci>
				  <m:apply>
				      <m:times/>
				      <m:ci>k</m:ci>
				      <m:ci>N</m:ci>	
				  </m:apply>
			      </m:apply>
			  </m:apply>
		      </m:apply>
		  </m:math> for all
		  <m:math>
		      <m:apply>
		          <m:in/>
			  <m:ci>k</m:ci>
			  <m:ci>ℤ</m:ci>
		      </m:apply>
		  </m:math>. Let us expand
		  <m:math>
		      <m:apply>
		          <m:sin/>
			  <m:apply>
			      <m:times/>
			      <m:cn>2</m:cn>
			      <m:pi/>
			      <m:ci>f</m:ci>
			      <m:apply>
				  <m:plus/>
				  <m:ci>n</m:ci>
				  <m:apply>
				      <m:times/>
				      <m:ci>k</m:ci>
				      <m:ci>N</m:ci>	
				  </m:apply>
			      </m:apply>
			  </m:apply>
		      </m:apply>
		  </m:math>.

<!--...........................................Equation 1........................................-->
		  <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>
		          <m:apply>
			      <m:eq/>
			      <m:apply>
				  <m:sin/>
				  <m:apply>
				      <m:times/>
				      <m:cn>2</m:cn>
				      <m:pi/>
				      <m:ci>f</m:ci>
				      <m:apply>
				          <m:plus/>
					  <m:ci>n</m:ci>
					  <m:apply>
				              <m:times/>
					      <m:ci>k</m:ci>
					      <m:ci>N</m:ci>	
					  </m:apply>
			              </m:apply>
			          </m:apply>
		              </m:apply><!--end lhs equation-->
			      <m:apply>
			          <m:plus/>
				  <m:apply>
				      <m:times/>
				      <m:apply>
				          <m:sin/>
					  <m:apply>
					      <m:times/>
					      <m:cn>2</m:cn>
					      <m:pi/>
					      <m:ci>f</m:ci>
					      <m:ci>n</m:ci>
					  </m:apply>
				      </m:apply>
				      <m:apply>
				          <m:cos/>
					  <m:apply>
					      <m:times/>
					      <m:cn>2</m:cn>
					      <m:pi/>
					      <m:ci>f</m:ci>
					      <m:ci>k</m:ci>
					      <m:ci>N</m:ci>
					  </m:apply>
				      </m:apply>
				  </m:apply>
				  <m:apply>
				      <m:times/>
				      <m:apply>
				          <m:cos/>
					  <m:apply>
					      <m:times/>
					      <m:cn>2</m:cn>
					      <m:pi/>
					      <m:ci>f</m:ci>
					      <m:ci>n</m:ci>
					  </m:apply>
				      </m:apply>
				      <m:apply>
				          <m:sin/>
					  <m:apply>
					      <m:times/>
					      <m:cn>2</m:cn>
					      <m:pi/>
					      <m:ci>f</m:ci>
					      <m:ci>k</m:ci>
					      <m:ci>N</m:ci>
					  </m:apply>
				      </m:apply>
				  </m:apply>
			      </m:apply>
		          </m:apply>
		      </m:math>
		  </equation>
		  To make the right hand side of <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="eqn1"/> equal to
		  <m:math>
		      <m:apply>
			  <m:sin/>
			  <m:apply>
			      <m:times/>
			      <m:cn>2</m:cn>
			      <m:pi/>
			      <m:ci>f</m:ci>
			      <m:ci>n</m:ci>
			   </m:apply>
		      </m:apply>
		  </m:math>,
		  we need to impose a restriction on the digital frequency f.
		  According to <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="eqn1"/> only
		  <m:math>
		      <m:apply>
		          <m:eq/>
			  <m:apply>
			      <m:times/>
			      <m:ci>f</m:ci>
			      <m:ci>N</m:ci>
			  </m:apply>
			  <m:ci>m</m:ci>
		      </m:apply>
		  </m:math> will yield periodicity,
		  <m:math>
		      <m:apply>
		          <m:in/>
			  <m:ci>m</m:ci>
			  <m:ci>ℤ</m:ci>
		      </m:apply>
		  </m:math>.
	      </para>
	  </example><!-- End example exa2-->
	  <example 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="exa3">
	      <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="exa3p1">
	          Consider the following signals
		  <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>t</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:cos/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:pi/>
				  <m:apply>
				      <m:divide/>
				      <m:cn>1</m:cn>
				      <m:cn>8</m:cn>
				  </m:apply>
				  <m:ci>t</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math> and 
		    <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>n</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:cos/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:pi/>
				  <m:apply>
				      <m:divide/>
				      <m:cn>1</m:cn>
				      <m:cn>8</m:cn>
				  </m:apply>
				  <m:ci>n</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math>, as 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="f1"/>.
		    <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="f1">
		        <subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
			    <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="periodicity1.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/">a) 
			        <m:math>
				    <m:apply>
				        <m:cos/>
					<m:apply>
					    <m:times/>
					    <m:cn>2</m:cn>
					    <m:pi/>
					    <m:apply>
					        <m:divide/>
						<m:cn>1</m:cn>
						<m:cn>8</m:cn>
					    </m:apply>
					    <m:ci>t</m:ci>
					</m:apply>
				    </m:apply>
			        </m:math>
			    </caption>
			</subfigure>
			<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
			    <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="periodicity2.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/">b) 
			        <m:math>
				    <m:apply>
				        <m:cos/>
					<m:apply>
					    <m:times/>
					    <m:cn>2</m:cn>
					    <m:pi/>
					    <m:apply>
					        <m:divide/>
						<m:cn>1</m:cn>
						<m:cn>8</m:cn>
					    </m:apply>
					    <m:ci>n</m:ci>
					</m:apply>
				    </m:apply>
			        </m:math>
			    </caption>
			</subfigure>
		    </figure>
		    Are the signals periodic, and if so, what are the periods?		  
	      </para>
	      <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="exa3p2">
	          Both the physical and digital frequency is 1/8 so both signals are periodic with period 8.
	      </para>
	  </example>
	   <example 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="exa4">
	      <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="exa4p1">
	          Consider the following signals
		  <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>t</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:cos/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:pi/>
				  <m:apply>
				      <m:divide/>
				      <m:cn>2</m:cn>
				      <m:cn>3</m:cn>
				  </m:apply>
				  <m:ci>t</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math> and 
		    <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>n</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:cos/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:pi/>
				  <m:apply>
				      <m:divide/>
				      <m:cn>2</m:cn>
				      <m:cn>3</m:cn>
				  </m:apply>
				  <m:ci>n</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math>, as 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="f2"/>.
		    <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="f2">
		        <subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
			    <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="periodicity3.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/">a) 
			        <m:math>
				    <m:apply>
				        <m:cos/>
					<m:apply>
					    <m:times/>
					    <m:cn>2</m:cn>
					    <m:pi/>
					    <m:apply>
					        <m:divide/>
						<m:cn>2</m:cn>
						<m:cn>3</m:cn>
					    </m:apply>
					    <m:ci>t</m:ci>
					</m:apply>
				    </m:apply>
			        </m:math>
			    </caption>
			</subfigure>
			<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
			    <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="periodicity4.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/">b) 
			        <m:math>
				    <m:apply>
				        <m:cos/>
					<m:apply>
					    <m:times/>
					    <m:cn>2</m:cn>
					    <m:pi/>
					    <m:apply>
					        <m:divide/>
						<m:cn>2</m:cn>
						<m:cn>3</m:cn>
					    </m:apply>
					    <m:ci>n</m:ci>
					</m:apply>
				    </m:apply>
			        </m:math>
			    </caption>
			</subfigure>
		    </figure>
		    Are the signals periodic, and if so, what are the periods?		  
	      </para>
	      <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="exa4p2">
	          The frequencies are 2/3 in both cases. The analog signal then has period 3/2. The discrete
		  signal has to have a period that is an integer, so the smallest possible period is then 3.
	      </para>
	  </example>
	  <example 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="exa5">
	      <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="exa5p1">
	          Consider the following signals
		  <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>t</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:cos/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:ci>t</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math> and 
		    <m:math>
		      <m:apply>
			  <m:eq/>
			  <m:apply>
			      <m:ci>x</m:ci>
			      <m:ci>n</m:ci>
			  </m:apply>
			  <m:apply>
			      <m:cos/>
			      <m:apply>
			          <m:times/>
				  <m:cn>2</m:cn>
				  <m:ci>n</m:ci>
			      </m:apply>
		          </m:apply>
		      </m:apply>
	            </m:math>, as 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="f3"/>.
		    <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="f3">
		        <subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
			    <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="periodicity5.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/">a) 
			        <m:math>
				    <m:apply>
				        <m:cos/>
					<m:apply>
					    <m:times/>
					    <m:cn>2</m:cn>
					    <m:ci>t</m:ci>
					</m:apply>
				    </m:apply>
			        </m:math>
			    </caption>
			</subfigure>
			<subfigure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
			    <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="periodicity6.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/">b) 
			        <m:math>
				    <m:apply>
				        <m:cos/>
					<m:apply>
					    <m:times/>
					    <m:cn>2</m:cn>
					    <m:ci>n</m:ci>
					</m:apply>
				    </m:apply>
			        </m:math>
			    </caption>
			</subfigure>
		    </figure>
		    Are the signals periodic, and if so, what are the periods?		  
	      </para>
	      <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="exa5p2">
	          The frequencies are 1/π in both cases. The analog signal then has period π. The discrete
		  signal <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/">is not periodic because the digital frequency is not a rational number</emphasis>.
	      </para>
	  </example>
	  <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="s2s1">
	      <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/">Conclusion</name>
	      <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="s2s1p1">
	          For a time discrete trigonometric signal to be periodic its <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/">digital
		  frequency has to be a rational number</emphasis>, i.e. given by the ratio of two integers.
		  Contrast this to analog trigonometric signals. 		  

	      </para>
	  </section>

  </section><!--End section s2-->
  <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="s3">
        <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/">Matlab file</name>
	<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="s3p1">
	    <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.rice.edu/content/m11477/latest/periodicity.m">periodicity.m</link>
	</para>
    </section>
    <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="s4">
	      <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="s4p1">
	       Take a look at
	       <list 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="l4" type="inline">
		   <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/" document="m11479">Introduction</cnxn></item>
	           <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/" document="m11476">Discrete time signals</cnxn></item>
                   <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/" document="m11478">Analog signals</cnxn></item>
	           <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/" document="m11527">Discrete vs Analog signals</cnxn></item>
		   <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/" document="m11526">Energy &amp; Power</cnxn></item>
	           <item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/"><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/" document="m11428">Exercises</cnxn></item>
	   </list> ?
      </para>
      </section>

  </content>
  
</document>
