All,<br><br>The tcp.mat is too big -- here is the m-file to generate it.<br><br>% forget tcp.mat!&nbsp; It was 8MB, which we&#39;d rather not send around
<br>% instead, just generate the signal yourself with this.
<br>% the signal we are interested in doing an FFT on is
<br>% totalsignoise.&nbsp; Of course it may be easier to debug using your
<br>% own signal, but this is the final test of your project
<br>&nbsp;<br>n=linspace(1,480000,480000);&nbsp;
<br>t41=exp(2*pi*j*n*4100/48000);
<br>t=0:1/48000:10-(1/48000);
<br>ch=chirp(t,100,10,10000);
<br>t15k = exp(2*pi*j*n*15000/48000);
<br>totalsig = 1000*t41 + 2000*ch;
<br>totalsig(1:48000) = totalsig(1:48000) + 300*t15k(1:48000);
<br>totalsig(48000*3+1:48000*4) = totalsig(48000*3+1:48000*4) + 300*t15k(1:48000);
<br>totalsig(48000*6+1:48000*7) = totalsig(48000*6+1:48000*7) + 300*t15k(1:48000);
<br>ns = randn(1,480000) + j*randn(1,480000);
<br>totalsignoise = totalsig+1000*ns;<br><br>Joseph<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Joseph Haber</b> <span dir="ltr">&lt;<a href="mailto:josephhaber@gmail.com">josephhaber@gmail.com</a>&gt;</span><br>
Date: Tue, Oct 21, 2008 at 10:37 PM<br>Subject: Re: Dspforum post from <a href="mailto:abrenchley@hotmail.com">abrenchley@hotmail.com</a> requires approval<br>To: <a href="mailto:abrenchley@hotmail.com">abrenchley@hotmail.com</a>, Doug Wenstrand &lt;<a href="mailto:doug@echelonembedded.com">doug@echelonembedded.com</a>&gt;<br>
<br><br>Adam,<br><br>1) It appears that your plot is correct! (Now, that is not the same as me grading it as fine -- it is still your responsibility to ensure it is fine. I reserve the right to find something tomorrow.) The two lines are the &quot;true&quot; signal and it&#39;s complex conjugate.<br>

<br>2) I don&#39;t remember what xx was. If Doug does, he can reply, otherwise I&#39;ll issue a number tomorrow.<br><br>3) I&#39;ll send a Matlab script to generate the test file.<br><br>Joseph<br><br><br><div class="gmail_quote">
<div><div></div><div class="Wj3C7c">
On Tue, Oct 21, 2008 at 9:30 PM,  <span dir="ltr">&lt;<a href="mailto:dspforum-owner@echelonembedded.com" target="_blank">dspforum-owner@echelonembedded.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">
As list administrator, your authorization is requested for the<br>
following mailing list posting:<br>
<br>
 &nbsp; &nbsp;List: &nbsp; &nbsp;<a href="mailto:Dspforum@echelonembedded.com" target="_blank">Dspforum@echelonembedded.com</a><br>
 &nbsp; &nbsp;From: &nbsp; &nbsp;<a href="mailto:abrenchley@hotmail.com" target="_blank">abrenchley@hotmail.com</a><br>
 &nbsp; &nbsp;Subject: Lab 6 questions<br>
 &nbsp; &nbsp;Reason: &nbsp;Message body is too big: 78874 bytes with a limit of 40 KB<br>
<br>
At your convenience, visit:<br>
<br>
 &nbsp; &nbsp;<a href="http://echelonembedded.com/mailman/admindb/dspforum_echelonembedded.com" target="_blank">http://echelonembedded.com/mailman/admindb/dspforum_echelonembedded.com</a><br>
<br>
to approve or deny the request.<br>
<br><br></div></div>---------- Forwarded message ----------<br>From:&nbsp;Adam Brenchley &lt;<a href="mailto:abrenchley@hotmail.com" target="_blank">abrenchley@hotmail.com</a>&gt;<br>To:&nbsp;&lt;<a href="mailto:dspforum@echelonembedded.com" target="_blank">dspforum@echelonembedded.com</a>&gt;<br>

Date:&nbsp;Tue, 21 Oct 2008 21:30:49 -0400<br>Subject:&nbsp;Lab 6 questions<br>



<div><div style="text-align: left;">I have a few questions about lab 6<br>1)&nbsp; I am using a chirp signal as an input (100hz to 12000 hz in 12 seconds).&nbsp; The output of the STFT has 2 lines on it.&nbsp; Is that right? (one real and one imaginary/ reflection). see pic<br>

2)&nbsp; The grading sheet says &quot;Compute STFT and measure time of calculation.<span>&nbsp; </span>Must be less than xx ms.&quot; what is xx?&nbsp; How fast does it need to be?<br>3)&nbsp; The lab says that the instructor-provided file tcp.mat&nbsp; is to be used.&nbsp; Where is this file?&nbsp; Will it be provided during the lab?<br>

<br>Adam<br><br></div><br><div></div><br><br><hr>When your life is on the go—take your life with you. <a href="http://clk.atdmt.com/MRT/go/115298558/direct/01/" target="_blank">Try Windows Mobile&reg; today</a></div>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;<a href="mailto:dspforum-request@echelonembedded.com" target="_blank">dspforum-request@echelonembedded.com</a><br>To:&nbsp;<br>Date:&nbsp;Tue, 21 Oct 2008 19:30:51 -0600<br>
Subject:&nbsp;confirm a9de328fdf88e25d6226cec8d1237ca3ebe2aed7<br>
If you reply to this message, keeping the Subject: header intact,<br>
Mailman will discard the held message. &nbsp;Do this if the message is<br>
spam. &nbsp;If you reply to this message and include an Approved: header<br>
with the list password in it, the message will be approved for posting<br>
to the list. &nbsp;The Approved: header can also appear in the first line<br>
of the body of the reply.<br></blockquote></div><br>
</div><br>