Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to generate a Raised Cosine Impulse Response
Date: Tue, 10 Nov 2009 11:32:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <hdbivi$nha$1@fred.mathworks.com>
References: <hd6612$f17$1@fred.mathworks.com> <hd69hi$fp4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257852722 24106 172.30.248.35 (10 Nov 2009 11:32:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Nov 2009 11:32:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2082536
Xref: news.mathworks.com comp.soft-sys.matlab:583801


"Wayne King" <wmkingty@gmail.com> wrote in message <hd69hi$fp4$1@fred.mathworks.com>...
> "Xu " <vento143@sohu.com> wrote in message <hd6612$f17$1@fred.mathworks.com>...
> > Hi, I am a novice. Could anybody tell me how to use MatLab to generate a raised cosine impulse response with 121 samples with roll-off factor equals 0.5?
> > 
> > Thanks in advance.
> 
> Hi Xu,
> 
> h = fdesign.pulseshaping(10,'Raised Cosine','Nsym,Beta',10,0.5); % just an example 
> % 10 samples per symbol and 10 symbols, total impulse response length here
> % is 101. Rolloff factor is 0.5
> Hd = design(h); % design the filter (window method)
> fvtool(Hd,'analysis','impulse') % view the impulse response
> ImpResponse = Hd.Numerator; % get impulse response
> 
> See 
> >>doc fdesign.pulseshaping
> for more info. 
> 
> Hope that helps,
> wayne

Thank you very much. following your solution, the problem has been solved!
:)