From: Abbas Haider on
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,
From: TideMan on
On Apr 23, 8:18 pm, "Abbas Haider" <wet...(a)yahoo.com> wrote:
> 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,

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