[Dspforum] tcp.mat
Joseph
joseph at echelonembedded.com
Tue Oct 21 20:39:19 MDT 2008
All,
The tcp.mat is too big -- here is the m-file to generate it.
% forget tcp.mat! It was 8MB, which we'd rather not send around
% instead, just generate the signal yourself with this.
% the signal we are interested in doing an FFT on is
% totalsignoise. Of course it may be easier to debug using your
% own signal, but this is the final test of your project
n=linspace(1,480000,480000);
t41=exp(2*pi*j*n*4100/48000);
t=0:1/48000:10-(1/48000);
ch=chirp(t,100,10,10000);
t15k = exp(2*pi*j*n*15000/48000);
totalsig = 1000*t41 + 2000*ch;
totalsig(1:48000) = totalsig(1:48000) + 300*t15k(1:48000);
totalsig(48000*3+1:48000*4) = totalsig(48000*3+1:48000*4) +
300*t15k(1:48000);
totalsig(48000*6+1:48000*7) = totalsig(48000*6+1:48000*7) +
300*t15k(1:48000);
ns = randn(1,480000) + j*randn(1,480000);
totalsignoise = totalsig+1000*ns;
Joseph
---------- Forwarded message ----------
From: Joseph Haber <josephhaber at gmail.com>
Date: Tue, Oct 21, 2008 at 10:37 PM
Subject: Re: Dspforum post from abrenchley at hotmail.com requires approval
To: abrenchley at hotmail.com, Doug Wenstrand <doug at echelonembedded.com>
Adam,
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.
2) I don't remember what xx was. If Doug does, he can reply, otherwise I'll
issue a number tomorrow.
3) I'll send a Matlab script to generate the test file.
Joseph
On Tue, Oct 21, 2008 at 9:30 PM, <dspforum-owner at echelonembedded.com> wrote:
> As list administrator, your authorization is requested for the
> following mailing list posting:
>
> List: Dspforum at echelonembedded.com
> From: abrenchley at hotmail.com
> Subject: Lab 6 questions
> Reason: Message body is too big: 78874 bytes with a limit of 40 KB
>
> At your convenience, visit:
>
> http://echelonembedded.com/mailman/admindb/dspforum_echelonembedded.com
>
> to approve or deny the request.
>
>
> ---------- Forwarded message ----------
> From: Adam Brenchley <abrenchley at hotmail.com>
> To: <dspforum at echelonembedded.com>
> Date: Tue, 21 Oct 2008 21:30:49 -0400
> Subject: Lab 6 questions
> I have a few questions about lab 6
> 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
> 2) The grading sheet says "Compute STFT and measure time of calculation.
> Must be less than xx ms." what is xx? How fast does it need to be?
> 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?
>
> Adam
>
>
>
>
> ------------------------------
> When your life is on the go—take your life with you. Try Windows Mobile(R)
> today <http://clk.atdmt.com/MRT/go/115298558/direct/01/>
>
>
> ---------- Forwarded message ----------
> From: dspforum-request at echelonembedded.com
> To:
> Date: Tue, 21 Oct 2008 19:30:51 -0600
> Subject: confirm a9de328fdf88e25d6226cec8d1237ca3ebe2aed7
> If you reply to this message, keeping the Subject: header intact,
> Mailman will discard the held message. Do this if the message is
> spam. If you reply to this message and include an Approved: header
> with the list password in it, the message will be approved for posting
> to the list. The Approved: header can also appear in the first line
> of the body of the reply.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20081021/cb0465b6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp.m
Type: application/octet-stream
Size: 782 bytes
Desc: not available
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20081021/cb0465b6/attachment-0001.obj>
More information about the Dspforum
mailing list