<?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="m10058">

<name>Useful Signals</name>

  <metadata>
  <md:version>2.12</md:version>
  <md:created>2001/06/08</md:created>
  <md:revised>2006/08/02 14:58:43.714 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="mselik">
      <md:firstname>Melissa</md:firstname>
      
      <md:surname>Selik</md:surname>
      <md:email>mselik@alumni.rice.edu</md:email>
    </md:author>
      <md:author id="richb">
      <md:firstname>Richard</md:firstname>
      <md:othername>G.</md:othername>
      <md:surname>Baraniuk</md:surname>
      <md:email>richb@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="jrom">
      <md:firstname>Justin</md:firstname>
      
      <md:surname>Romberg</md:surname>
      <md:email>jrom@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mselik">
      <md:firstname>Melissa</md:firstname>
      
      <md:surname>Selik</md:surname>
      <md:email>mselik@alumni.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="richb">
      <md:firstname>Richard</md:firstname>
      <md:othername>G.</md:othername>
      <md:surname>Baraniuk</md:surname>
      <md:email>richb@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="rars">
      <md:firstname>Ricardo</md:firstname>
      <md:othername>Anthony</md:othername>
      <md:surname>Radaelli-Sanchez</md:surname>
      <md:email>ricky@alumni.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mariyah">
      <md:firstname>Mariyah</md:firstname>
      
      <md:surname>Poonawala</md:surname>
      <md:email>mariyah@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="prash">
      <md:firstname>Prashant</md:firstname>
      
      <md:surname>Singh</md:surname>
      <md:email>prash@ece.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mhutch">
      <md:firstname>Matthew</md:firstname>
      
      <md:surname>Hutchinson</md:surname>
      <md:email>mhutch@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>continuous time</md:keyword>
    <md:keyword>dirac delta function</md:keyword>
    <md:keyword>exponential</md:keyword>
    <md:keyword>impulse</md:keyword>
    <md:keyword>sifting property</md:keyword>
    <md:keyword>signals</md:keyword>
    <md:keyword>unit step</md:keyword>
  </md:keywordlist>

  <md:abstract>Presents three useful signals.
</md:abstract>
</metadata>

  <content>
    <para id="p_intro">
      Before looking at this module, hopefully you have some basic
      idea of what a signal is and what basic <cnxn document="m10057" strength="7"> classifications and properties</cnxn> a signal can
      have.  To review, a signal is merely a function defined with
      respect to an independent variable.  This variable is often time
      but could represent an index of a sequence or any number of
      things in any number of dimensions.  Most, if not all, signals
      that you will encounter in your studies and the real world will
      be able to be created from the basic signals we discuss below.
      Because of this, these elementary signals are often referred to
      as the <emphasis>building blocks</emphasis> for all other
      signals.
    </para>


    <section id="s_sin">
      <name>Sinusoids</name>
      <para id="p1_sin">
	Probably the most important elemental signal that you will
	deal with is the real-valued sinusoid.  In its continuous-time
	form, we write the general form as

	<equation id="eq_sin">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:ci type="fn">x</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>	      
	      <m:apply>
		<m:times/>
		<m:ci>A</m:ci>
		<m:apply>
		  <m:cos/>
		  <m:apply>
		    <m:plus/>
		    <m:apply>
		      <m:times/>
		      <m:ci>ω</m:ci>
		      <m:ci>t</m:ci>
		    </m:apply>
		    <m:ci>φ</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>

	where <m:math><m:ci>A</m:ci> </m:math> is the amplitude,
	<m:math><m:ci>ω</m:ci> </m:math> is the frequency, and
	<m:math><m:ci>φ</m:ci> </m:math> represents the phase.
	Note that it is common to see 
	<m:math display="inline">
	  <m:apply>
	    <m:times/>
	    <m:ci>ω</m:ci>
	    <m:ci>t</m:ci>
	  </m:apply>
	</m:math> replaced with
	<m:math display="inline">
	  <m:apply>
	    <m:times/>
	    <m:cn>2</m:cn>
	    <m:pi/>
	    <m:ci>f</m:ci>
	    <m:ci>t</m:ci>
	  </m:apply>
	</m:math>.  Since sinusoidal signals are periodic, we can
	express the period of these, or any periodic signal, as
	
	<equation id="eq_per">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:ci>T</m:ci>
	      <m:apply>
		<m:divide/>
		<m:apply>
		  <m:times/>
		  <m:cn>2</m:cn>
		  <m:pi/>
		</m:apply>
		<m:ci>ω</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>	    
      </para>

      <figure id="sinwav" orient="horizontal">
	<media type="image/png" src="sinwave.png"/>
	<caption>
	  Sinusoid with 
	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:ci>A</m:ci>
	      <m:cn>2</m:cn>
	    </m:apply>
	  </m:math>, 
	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:ci>w</m:ci>
	      <m:cn>2</m:cn>
	    </m:apply>
	  </m:math>, and
	  <m:math display="inline">
	    <m:apply>
	      <m:eq/>
	      <m:ci>φ</m:ci>
	      <m:cn>0</m:cn>
	    </m:apply>
	  </m:math>.
	</caption>
      </figure>      
    </section>



    <section id="sect3">
      <name>Complex Exponential Function</name>
      <para id="para3">
	Maybe as important as the general sinusoid, the <term>complex
	exponential</term> function will become a critical part of
	your study of signals and systems.  Its general form is
	written as

	<equation id="eq_exp">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:ci>B</m:ci>
		<m:apply>
		  <m:exp/>
		  <m:apply>
		    <m:times/>
		    <m:ci>s</m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
	
	where <m:math><m:ci>s</m:ci></m:math>, shown below, is a
	complex number in terms of
	<m:math><m:ci>σ</m:ci></m:math>, the phase constant, and
	<m:math><m:ci>ω</m:ci></m:math> the frequency:
	
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
	    <m:ci>s</m:ci>
	    <m:apply>
	      <m:plus/>
	      <m:ci>σ</m:ci>
	      <m:apply>
		<m:times/>
		<m:imaginaryi/>
		<m:ci>ω</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
	
	Please look at the <cnxn document="m10060" strength="5">complex
	exponential module</cnxn> or the other <cnxn document="m0004" target="sec2" strength="8">elemental signals page</cnxn> for a
	much more in depth look at this important signal.
      </para>
    </section>
    
    
    <section id="realexp">
      <name>Real Exponentials</name>
      <para id="p1_rexp">
	Just as the name sounds, real exponentials contain no
	imaginary numbers and are expressed simply as

	<equation id="eq_reexp">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:ci>B</m:ci>
		<m:apply>
		  <m:exp/>
		  <m:apply>
		    <m:times/>
		    <m:ci>α</m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>

	where both <m:math><m:ci>B</m:ci></m:math> and
	<m:math><m:ci>α</m:ci></m:math> are real parameters.
	Unlike the complex exponential that oscillates, the real
	exponential either decays or grows depending on the value of 
	<m:math><m:ci>α</m:ci></m:math>.  
	
	<list id="reexp">
	  <item><term>Decaying Exponential</term>, when 
	    <m:math>
	      <m:apply>
		<m:lt/>
		<m:ci>α</m:ci>
		<m:cn>0</m:cn>
	      </m:apply>
	    </m:math>
	  </item>
	  <item><term>Growing Exponential</term>, when 
	    <m:math>
	      <m:apply>
		<m:gt/>
		<m:ci>α</m:ci>
		<m:cn>0</m:cn>
	      </m:apply>
	    </m:math>
	  </item>
	</list>
      </para>
      
      <figure orient="horizontal" id="fig_reexp">
	<subfigure id="subfig1">
	  <media type="image/png" src="realexpD.png"/>
	  <caption>
	    Decaying Exponential
	  </caption>
	</subfigure>
	<subfigure id="subfig2">
	  <media type="image/png" src="realexpG.png"/>
	  <caption>
	    Growing Exponential
	  </caption>
	</subfigure>
	<caption>
	  Examples of Real Exponentials
	</caption>
      </figure>
    </section>


    <section id="sect2">
      <name>Unit Impulse Function</name>
      <para id="para2">
	The <term><cnxn document="m10059" strength="9">unit
	impulse</cnxn></term> "function" (or <term>Dirac delta</term>
	function) is a signal that has infinite height and
	infinitesimal width.  However, because of the way it is
	defined, it actually integrates to one.  While in the
	engineering world, this signal is quite nice and aids in the
	understanding of many concepts, some mathematicians have a
	problem with it being called a function, since it is not
	defined at
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:ci>t</m:ci>
	    <m:cn>0</m:cn>
	  </m:apply>
	</m:math>
	.  Engineers reconcile this problem by keeping it around
	integrals, in order to keep it more nicely defined.  The unit
	impulse is most commonly denoted as 

	<m:math display="block">
	  <m:apply>
	    <m:ci type="fn">δ</m:ci>
	    <m:ci>t</m:ci>
	  </m:apply>
	</m:math>

	The most important property of the unit-impulse is shown in
	the following integral:
      </para>


      <equation id="eq_delta">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:int/>
	      <m:bvar>
		<m:ci>t</m:ci>
	      </m:bvar>
	      <m:lowlimit>
		<m:apply>
		  <m:minus/>
		  <m:infinity/>
		</m:apply>
	      </m:lowlimit>
	      <m:uplimit>
		<m:infinity/>
	      </m:uplimit>
	      <m:apply>
		<m:ci type="fn">δ</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:cn>1</m:cn>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>

    </section>


    <section id="sect1">
      <name>Unit-Step Function</name>
      <para id="para1">
	Another very basic signal is the <term>unit-step
	function</term> that is defined as 

	<equation id="eq_step">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:ci type="fn">u</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	      <m:piecewise>
		<m:piece>
		  <m:cn>0</m:cn>
		  <m:apply>
		    <m:lt/>
		    <m:ci>t</m:ci>
		    <m:cn>0</m:cn>
		  </m:apply>
		</m:piece>
		<m:piece>
		  <m:cn>1</m:cn>
		  <m:apply>
		    <m:geq/>
		    <m:ci>t</m:ci>
		    <m:cn>0</m:cn>
		  </m:apply>
		</m:piece>
	      </m:piecewise>
	    </m:apply>
	  </m:math>
	</equation>
      </para>
          
      <figure orient="horizontal" id="fig_unstep">
	<subfigure id="subfig1u">
	  <media type="image/png" src="unit_step.png"/>
	  <caption>
	    Continuous-Time Unit-Step Function
	  </caption>
	</subfigure>
	<subfigure id="subfig2u">
	  <media type="image/png" src="unit_stepD.png"/>
	  <caption>
	     Discrete-Time Unit-Step Function
	  </caption>
	</subfigure>
	<caption>
	  Basic Step Functions
	</caption>
      </figure>

      <para id="p2_step">
	Note that the step function is discontinuous at the origin;
	however, it does not need to be defined here as it does not
	matter in signal theory.  The step function is a useful tool
	for testing and for defining other signals.  For example, when
	different shifted versions of the step function are multiplied
	by other signals, one can select a certain portion of the
	signal and zero out the rest.
      </para>
    </section>

    
    <section id="sect_ramp">
      <name>Ramp Function</name>
      <para id="p1_ramp">
	The ramp function is closely related to the unit-step
	discussed above.  Where the unit-step goes from zero to one
	instantaneously, the ramp function better resembles a
	real-world signal, where there is some time needed for the
	signal to increase from zero to its set value, one in this
	case.  We define a ramp function as follows

	<equation id="eq_ramp">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:ci type="fn">r</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	      <m:piecewise>
		<m:piece>
		  <m:cn>0</m:cn>
		  <m:apply>
		    <m:lt/>
		    <m:ci>t</m:ci>
		    <m:cn>0</m:cn>
		  </m:apply>
		</m:piece>
		<m:piece>
		  <m:apply>
		    <m:divide/>
		    <m:ci>t</m:ci>
		    <m:apply>
		      <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:leq/>
		    <m:apply>
		      <m:leq/>
		      <m:cn>0</m:cn>
		      <m:ci>t</m:ci>
		    </m:apply>
		    <m:apply>
		      <m:ci>
			<m:msub>
			  <m:mi>t</m:mi>
			  <m:mn>0</m:mn>
			</m:msub>
		      </m:ci>
		    </m:apply>
		  </m:apply>
		</m:piece>
		<m:piece>
		  <m:cn>1</m:cn>
		  <m:apply>
		    <m:gt/>
		    <m:ci>t</m:ci>
		    <m:apply>
		      <m:ci>
			<m:msub>
			  <m:mi>t</m:mi>
			  <m:mn>0</m:mn>
			</m:msub>
		      </m:ci>
		    </m:apply>
		  </m:apply>
		</m:piece>
	      </m:piecewise>
	    </m:apply>
	  </m:math>
	</equation>
      </para>
      
      <figure orient="horizontal" id="fig_ramp">
	<media type="image/png" src="ramp.png"/>
	<caption>
	  Ramp Function
	</caption>
      </figure>




    </section>
    
  </content>
</document>
