Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: To zero pad a signal using MATLAB
Date: Mon, 25 May 2009 14:35:02 +0000 (UTC)
Organization: Xoran Technologies
Lines: 12
Message-ID: <gveaal$3hm$1@fred.mathworks.com>
References: <gve9m1$n8d$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243262102 3638 172.30.248.37 (25 May 2009 14:35:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 25 May 2009 14:35:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:542383

"Malcom Smith" <jreal_kko@yahoo.com> wrote in message <gve9m1$n8d$1@fred.mathworks.com>...
> Hi there,
> 
> I'm trying to extend the following data set to 512 points by zero padding:
> 
> x(t)=100sin(2*pi*100*t)+2sin(2*pi*184.25*t)+randn(size(t)) where the sampling frequency is 1 kHz and 64 samples are available.  
> 
> Could you please provide me a code for implementing the zero padding and also plotting the resultant signal?
> 
> Many thanks in advance.

No. I don't think I will.