MRC_combine.m
资源名称:MIMO-OFDM.rar [点击查看]
上传用户:look542
上传日期:2009-06-04
资源大小:784k
文件大小:1k
源码类别:
传真(Fax)编程
开发平台:
Matlab
- function st_decoded = MRC_combine(R,H,Idx_data,N_sym,N_Rx_ant,N_subc)
- % 最大比合并, 每条天线数据的加权为该天线的信道响应
- st_decoded = zeros(N_subc, N_sym);
- numerator = zeros(length(Idx_data),N_sym);
- denominator = zeros(length(Idx_data),N_sym);
- for n_r = 1:N_Rx_ant
- numerator = numerator + R(Idx_data,:,n_r).*conj(H(Idx_data,:,n_r));
- denominator = denominator + abs(H(Idx_data,:,n_r)).^2;
- end
- st_decoded(Idx_data,:) = numerator./denominator;