xrc.m

来自「Contemporary communication system一書之matl」· M 代码 · 共 11 行

M
11
字号
function [y] = xrc(f,alpha,T);% [y]=xrc(f,alpha,T)% 		evaluates the expression Xrc(f). The parameters alpha and T% 		must also be given as inputs to the function.if (abs(f) > ((1+alpha)/(2*T))),  y=0;elseif (abs(f) > ((1-alpha)/(2*T))),  y=(T/2)*(1+cos((pi*T/alpha)*(abs(f)-(1-alpha)/(2*T))));else  y=T;end;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?