|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Next let's try a raised cosine (RC) pulse (升余弦)with 30% excess bandwidth.
, |7 {: ~+ I- HCopy the RC Pulse program called "rcpuls" on page 23 of the Anderson text into a file called "rcpuls.m". Or cut and paste from here...2 g$ ]! a9 G' f. B
function y = rcpuls(a,t)tau = 1; % Set the symbol timet = t + 10^(-7); % This avoids dividing by zerotpi = pi/tau; atpi = tpi*a;at = 4*a^2/tau^2;y = sin(tpi*t).*cos(atpi*t)./(tpi*t.*(1-at*t.^2));7 H w) {0 t9 a# {% `* A
Now create an RC pulse by entering the following at the Matlab prompt.5 `6 k/ a! |8 m$ ^+ S, b4 }- T, H
rcpulse = rcpuls(.3,[-6:0.01:6]); |
|