All,<br><br>The tcp.mat is too big -- here is the m-file to generate it.<br><br>% forget tcp.mat! It was 8MB, which we'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. Of course it may be easier to debug using your
<br>% own signal, but this is the final test of your project
<br> <br>n=linspace(1,480000,480000);
<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"><<a href="mailto:josephhaber@gmail.com">josephhaber@gmail.com</a>></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 <<a href="mailto:doug@echelonembedded.com">doug@echelonembedded.com</a>><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 "true" signal and it's complex conjugate.<br>
<br>2) I don't remember what xx was. If Doug does, he can reply, otherwise I'll issue a number tomorrow.<br><br>3) I'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"><<a href="mailto:dspforum-owner@echelonembedded.com" target="_blank">dspforum-owner@echelonembedded.com</a>></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>
List: <a href="mailto:Dspforum@echelonembedded.com" target="_blank">Dspforum@echelonembedded.com</a><br>
From: <a href="mailto:abrenchley@hotmail.com" target="_blank">abrenchley@hotmail.com</a><br>
Subject: Lab 6 questions<br>
Reason: Message body is too big: 78874 bytes with a limit of 40 KB<br>
<br>
At your convenience, visit:<br>
<br>
<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: Adam Brenchley <<a href="mailto:abrenchley@hotmail.com" target="_blank">abrenchley@hotmail.com</a>><br>To: <<a href="mailto:dspforum@echelonembedded.com" target="_blank">dspforum@echelonembedded.com</a>><br>
Date: Tue, 21 Oct 2008 21:30:49 -0400<br>Subject: Lab 6 questions<br>
<div><div style="text-align: left;">I have a few questions about lab 6<br>1) I am using a chirp signal as an input (100hz to 12000 hz in 12 seconds). The output of the STFT has 2 lines on it. Is that right? (one real and one imaginary/ reflection). see pic<br>
2) The grading sheet says "Compute STFT and measure time of calculation.<span> </span>Must be less than xx ms." what is xx? How fast does it need to be?<br>3) The lab says that the instructor-provided file tcp.mat is to be used. Where is this file? 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® today</a></div>
<br><br>---------- Forwarded message ----------<br>From: <a href="mailto:dspforum-request@echelonembedded.com" target="_blank">dspforum-request@echelonembedded.com</a><br>To: <br>Date: Tue, 21 Oct 2008 19:30:51 -0600<br>
Subject: confirm a9de328fdf88e25d6226cec8d1237ca3ebe2aed7<br>
If you reply to this message, keeping the Subject: header intact,<br>
Mailman will discard the held message. Do this if the message is<br>
spam. 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. The Approved: header can also appear in the first line<br>
of the body of the reply.<br></blockquote></div><br>
</div><br>