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

Contact us at files@mathworks.com