raisedcos.m
来自「This program is about coaxial sysytem of」· M 代码 · 共 15 行
M
15 行
function TF = raisedCos (f,Tb,r)
% Raised Cosine Filter
% f = Frequency Matrix
% Tb = Bit Period
% r = Rolloff Factor
W0 = 1/(2*Tb);
W = (r+1)*W0;
x = abs(f)*(1/(W-W0));
x = x + ((W - 2*W0)/(W-W0))*ones(size(x));
TF = cos((pi/4)*x).^2;
xx = find(abs(f) < (2*W0 - W));
for ll = xx, TF(ll) = 1;end
xx = find(abs(f) > W);
for ll = xx, TF(ll) = 0;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?