<?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="Module.2003-12-17.1759">

	<name>Range Results</name>

<metadata>
  <md:version>1.7</md:version>
  <md:created>2003/12/17 00:17:59 US/Central</md:created>
  <md:revised>2003/12/18 08:05:43.883 US/Central</md:revised>
  <md:authorlist>
    <md:author id="erlend">
      <md:firstname>Erlend</md:firstname>
      
      <md:surname>Hansen</md:surname>
      <md:email>erlend@rice.edu</md:email>
    </md:author>
    <md:author id="amit79">
      <md:firstname>Amit</md:firstname>
      <md:othername>N.</md:othername>
      <md:surname>Aggarwal</md:surname>
      <md:email>amit79@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="erlend">
      <md:firstname>Erlend</md:firstname>
      
      <md:surname>Hansen</md:surname>
      <md:email>erlend@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="amit79">
      <md:firstname>Amit</md:firstname>
      <md:othername>N.</md:othername>
      <md:surname>Aggarwal</md:surname>
      <md:email>amit79@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>ELEC 301 group project, Radar simulation, range results</md:keyword>
  </md:keywordlist>

  <md:abstract/>
</metadata>


	<content>
		<section id="Testcases">
			<name>Test Cases</name>
			<para id="Ingeneral"><name>General paramters </name><list id="Genparam">
					<item>L=# of pulses = 4</item>
					<item>TW = time-bandwidth product = 64</item>
					<item>p = oversampling factor = 3</item>
					<item>M = interpulse period = 300</item>
					<item>n = noise factor = .2  (correspond to SNR of -10dB for received signal)</item>
					<item>sampfreq = sampling frequency = (20*(10 ^6)) Hz</item>
				</list><note id="SampFreqChosen">The sampfreq value of 20*(10^6) Hz was given in "Computer-Based Exerciese for Signal Processing Using MATLAB" by Burrus [ et al.] as an example sampling frequency to use</note><note id="TDvalue">The paramter "Time Delay" (i.e. TD) is the amount by which the user wants to shift his vector by (i.e. not units of time) </note><note id="MaxRangeValue">The max range that could be accounted for according to equations based in <cnxn document="m11719"> "Approach for Range" </cnxn> module was 8190 meters (8.2 kilometers)</note><name/></para>
			<para id="TestCase1"><name>Test Case 1</name>Simulate a Time Delay of 5 (TD = 5) </para>
			<para id="TestCase1eq"><name>Matlab function call</name>[noisytestecho,noisyshifttestecho,rsigmatchlocs,timedelay,range,h]=<link src="burst4.m">burst4</link>(4,64,3,300,.2,(20*(10 ^6)),5);</para>
			<para id="TestCase2"><name>Test Case 2</name>Simulate a Time Delay of 30 (TD = 30)<name/></para>
			<para id="TestCase2eq"><name>Matlab function call</name>[noisytestecho,noisyshifttestecho,rsigmatchlocs,timedelay,range,h]=<link src="burst4.m">burst4</link>(4,64,3,300,.2,(20*(10 ^6)),30);</para>
			<para id="TestCase3"><name>Test Case 3</name>Simulate a Time Delay of 45(TD = 45) <name/></para>
			<para id="TestCase3eq"><name>Matlab function call</name>[noisytestecho,noisyshifttestecho,rsigmatchlocs,timedelay,range,h]=<link src="burst4.m">burst4</link>(4,64,3,300,.2,(20*(10 ^6)),45);</para>
			<para id="TestCase4"><name>Test Case 4</name>Simulate a Time Delay of 65(TD = 65)<name/></para>
			<para id="TestCase4Eq"><name>Matlab function call</name>[noisytestecho,noisyshifttestecho,rsigmatchlocs,timedelay,range,h]=<link src="burst4.m">burst4</link>(4,64,3,300,.2,(20*(10 ^6)),65);</para>
			<para id="TestCase5"><name>Test Case 5</name>Simulate a Time Delay of 100 (TD = 100) </para>
			<para id="TestCase5Eq"><name>Matlab function call </name>[noisytestecho,noisyshifttestecho,rsigmatchlocs,timedelay,range,h]=<link src="burst4.m">burst4</link>(4,64,3,300,.2,(20*(10 ^6)),100);  </para>
			<para id="TestCase6"><name>Test Case 6</name>Simulate a Time Delay of 200 (TD = 200) <name/></para>
			<para id="TestCase6Eq"><name>Matlab function call</name>[noisytestecho,noisyshifttestecho,rsigmatchlocs,timedelay,range,h]=<link src="burst4.m">burst4</link>(4,64,3,300,.2,(20*(10 ^6)),200);  <name/></para>
			<section id="Plotstestcase1">
				<name>Plot examples (for test case 1)</name>
				<figure id="TransmittedChirptrainNoiseFree">
					<name>Transmitted Chirptrain Noise Free</name>
					<media type="image/jpg" src="TransmittedchirptrainNOISEfree.jpg"/>
					<caption>Transmitted Chirptrain Noise Free</caption>
				</figure>
				<figure id="ShiftedTime-DelayedChirptrainwithNOISE">
					<name>ShiftedTime-DelayedChirptrainwithNOISE</name>
					<media type="image/jpg" src="ShiftedTime-DelayedChirptrainwithNOISE.jpg"/>
					<caption>ShiftedTime-DelayedChirptrainwithNOISE</caption>
				</figure>
				<figure id="Matchedfilteroutputfortransmittedsignal">
					<name>Matchedfilteroutputfortransmittedsignal</name>
					<media type="image/jpg" src="Matchedfilteroutputfortransmittedsignal.jpg"/>
					<caption>Matchedfilteroutputfortransmittedsignal</caption>
				</figure>
				<figure id="Matchedfilteroutputforrecievedsignal">
					<name>Matchedfilteroutputforrecievedsignal</name>
					<media type="image/jpg" src="Matchedfilteroutputforrecievedsignal.jpg"/>
					<caption>Matchedfilteroutputforrecievedsignal</caption>
				</figure>
				<figure id="Locationofpickedoutpeaksintransmittedsignal">
					<name>Locationofpickedoutpeaksintransmittedsignal</name>
					<media type="image/jpg" src="Locationofpickedoutpeaksintransmittedsignal.jpg"/>
					<caption>Locationofpickedoutpeaksintransmittedsignal</caption>
				</figure>
				<figure id="Locationsofpickedoutpeaksinrecievedsignal">
					<name>Locationsofpickedoutpeaksinrecievedsignal</name>
					<media type="image/jpg" src="Locationsofpickedoutpeaksinrecievedsignal.jpg"/>
					<caption>Locationsofpickedoutpeaksinrecievedsignal</caption>
				</figure>
				<note id="Startingpoint">The starting value of the past two graphs are at n = 1 </note>
				<section id="AnalysisofResults">
					<name>Analysis of Results</name>
					<para id="Analysis1">Overall result of test cases given by a graph of the %error of the range approximation compared to "<link src="radar.m">radar</link>" from "Computer-Based Exerciese for Signal Processing Using MATLAB" by Burrus [ et al.] (see pages 328-329 for definition of parameters and function)</para>
					<figure id="Errorinrange">
						<name>%errorinrange2</name>
						<media type="image/jpg" src="errorinrange2.jpg"/>
						<caption>%errorinrange2</caption>
					</figure>
					<para id="ErrorCalc"><name>Method of Error Calculation</name>The % error was calculated by first taking the returned value for range from our developed program and using that as an input to the "<link src="radar.m">radar</link>" function from Burrus [ et al.]. The resulting waveform generated is then put through the same match filter as our simulated received wave. A comparison of the location of the 1st peaks is then done and the absolute value of the difference is taken. The value is then divided by the difference from the right most edge of "<link src="radar.m">radar</link>" 's first chirp to the end of the signal.  </para>
					<para id="Comment"><name>Comment on % Error</name>The % error increased in a direct proportional to however larger we made the new TD value. Thus, if a shift of TD=900 was applied, the % error was 9 times greater than in test case 5 ( TD = 100), it was in fact about 55.89%.</para>
					<para id="WheretonExt"><name>Where to Next</name> Next, look at <cnxn document="m11757"> "RADAR:Velocity Analysis" </cnxn> as next step.</para>
				</section>
			</section>
		</section>
	</content>
</document>
