We are designing a raised cosine filter in Matlab. I have done the logic for the BPSK Transmitter and am now working on finishing the Raised Cosine Filter. I seem to be having some trouble with the upfirdn and fDly functions, and setting beta and span to the correct settings. I keep either exceeding the array elements or getting in errors in rcosdesign.
Program is attached to this post