文件名称:MATLAB升余弦滤波器
文件大小:1KB
文件格式:NONE
更新时间:2014-01-25 15:05:26
RCOS
MATLAB编程实现升余弦滤波器function [g_T]= rrc_filter(alpha, filterOrder, N, T) %alpha为滚降系数(本函数用于升余弦滤波器系数计算,使用方便快捷。 %filterOrder为滤波器阶数 %N为每符号采样点数 %T % alpha = 0.24; % filterOrder = 63; % % T = 1; % N = 4; %sample point number per symbol n = -(filterOrder - 1)/2:1:(filterOrder - 1)/2; for i = 1:length(n) g_T(i) = 0; for m = -(filterOrder - 1)/2:1:(filterOrder - 1)/2 % g_T(i) = g_T(i) + sqrt(Xrc(4 * m/(filterOrder * T), alpha, T)) * exp(j * 2 * pi * m * (n(i)) / filterOrder); g_T(i) = g_T(i) + sqrt(xrc(N*m/(filterOrder* T), alpha, T)) * cos(2 * pi * m * (n(i)) / filterOrder); end