From: Steve Amphlett on 23 Apr 2010 04:55 "Abbas Haider" <wetway(a)yahoo.com> wrote in message <hqrl3u$br8$1(a)fred.mathworks.com>... > 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, Do you have the Signal Processing Toolbox?
From: Abbas Haider on 23 Apr 2010 05:18 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 <mulgor(a)gmail.com> wrote in message <1034d2eb-f66d-404a-8c66-e80793ae8a8a(a)p35g2000prf.googlegroups.com>... > 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
From: Abbas Haider on 23 Apr 2010 05:21 TideMan <mulgor(a)gmail.com> wrote in message <1034d2eb-f66d-404a-8c66-e80793ae8a8a(a)p35g2000prf.googlegroups.com>... > 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 -- but firrcos and rcosfir are the functions that are built in.. and they are called from within rcosine..
From: Steve Amphlett on 23 Apr 2010 06:26 "Abbas Haider" <wetway(a)yahoo.com> wrote in message <hqroq3$b90$1(a)fred.mathworks.com>... > TideMan <mulgor(a)gmail.com> wrote in message <1034d2eb-f66d-404a-8c66-e80793ae8a8a(a)p35g2000prf.googlegroups.com>... > > 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 > > -- > but firrcos and rcosfir are the functions that are built in.. and they are called from within rcosine.. >> 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.
|
Pages: 1 Prev: Mex error directory invalid Next: Design by Equivlent Cost |