Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help required for rcosine function

191 views
Skip to first unread message

Abbas Haider

unread,
Apr 23, 2010, 4:18:06 AM4/23/10
to
I am supposed to design a raised cosine pulse shaping filter. as per the given instructions at Mathworks when i try to compile the code (even the given examples) i get the following error.
____________ERROR_____________
>> num = rcosine(1,8,'sqrt'); % Transfer function of filter
??? Undefined command/function 'firrcos'.

Error in ==> rcosfir at 89
b=firrcos(rate*(N_T(2)-N_T(1)),1/(2*T),r,rate/T,'r','sqrt',-N_T(1)*rate)*sqrt(rate);

Error in ==> rcosine at 87
num = rcosfir(R, Delay, FsDFd, 1/Fd, filt_type);
________________________________
Can somebody pls help me?

Thanks,

TideMan

unread,
Apr 23, 2010, 4:26:47 AM4/23/10
to

Did you read the error message?
It says quite clearly that it cannot find the function firrcos

Steve Amphlett

unread,
Apr 23, 2010, 4:55:22 AM4/23/10
to
"Abbas Haider" <wet...@yahoo.com> wrote in message <hqrl3u$br8$1...@fred.mathworks.com>...

Do you have the Signal Processing Toolbox?

Abbas Haider

unread,
Apr 23, 2010, 5:18:04 AM4/23/10
to
I am not sure, if i have Signal processing toolbox.. how to check if i have it or not with my matlab package?

Thanks,
TideMan <mul...@gmail.com> wrote in message <1034d2eb-f66d-404a...@p35g2000prf.googlegroups.com>...

Abbas Haider

unread,
Apr 23, 2010, 5:21:07 AM4/23/10
to

--
but firrcos and rcosfir are the functions that are built in.. and they are called from within rcosine..

Steve Amphlett

unread,
Apr 23, 2010, 6:26:21 AM4/23/10
to
"Abbas Haider" <wet...@yahoo.com> wrote in message <hqroq3$b90$1...@fred.mathworks.com>...

>> which firrcos
<snip>\toolbox\signal\signal\firrcos.m

And if you type in "ver", the listing will show which toolboxes you are licensed for. If it doesn't include "Signal Processing Toolbox", you're SOL.

0 new messages