Thread Subject: How to generate a Raised Cosine Impulse Response

Subject: How to generate a Raised Cosine Impulse Response

From: Xu

Date: 8 Nov, 2009 10:20:18

Message: 1 of 3

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.

Subject: How to generate a Raised Cosine Impulse Response

From: Wayne King

Date: 8 Nov, 2009 11:20:18

Message: 2 of 3

"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

Subject: How to generate a Raised Cosine Impulse Response

From: Xu

Date: 10 Nov, 2009 11:32:02

Message: 3 of 3

"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!
:)

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com