Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: RECTWIN function
Date: Sun, 19 Jul 2009 08:40:18 +0000 (UTC)
Organization: Uofc
Lines: 13
Message-ID: <h3um5i$8dk$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247992818 8628 172.30.248.38 (19 Jul 2009 08:40:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 19 Jul 2009 08:40:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1662491
Xref: news.mathworks.com comp.soft-sys.matlab:556561


I am totally new to DSP matlab :)

1. How to use RECTWIN function in matlab, suppose if i have signal of 127 by1 and -70 to +70 Hz but i am only interested in -30 to +30 (64 samples),,,,,,,,actually i ws just plaaying around i convolve some  uniformly sampled spikes  with a sinusoid..result is 127 by 1 vector ,in frequency spectra now i need my sinusoid back so how can i use box car for this

2. similarly in time domain how can i use sinc for this

3. what exactly we mean by oversampling, suppose i had done sampling of signal which means i have some number of samples say 54 at a sampling rate of 100Hz i:e .01 sec. Now when i read about oversampling it says increasing the Bandwidth by 2B, by increasing number of samples (N=2*M..Number of samples in frequency domain). But my value of samples will still be 54, how i done over sampling, i mean i dont have 108 Fourier Coffecients or Amplitude value with me then how can i take summation over 108 coffecients.

 

4.Is that mean we can only do oversampling when we know our analog signal.....

5.  Where i can find good tutorial about over sampling