clear all; close all; fd=1e3; fs=fd*10; delay=5; %分别求四种情况下的升余弦函数 num1=rcosine(fd,fs,'fir/normal',0,delay); num2=rcosine(fd,fs,'fir/normal',0.5,delay); num3=rcosine(fd,fs,'fir/normal',0.75,delay); num4=rcosine(fd,fs,'fir/normal',1,delay);