联系QQ:

2181264433

新闻资讯
联系我们
联系:张女士
微信:扫一扫右侧二维码
QQ :2181264433
邮箱:2181264433@qq.com
地址:浙江省-嘉兴市-南湖区
网址:www.mhslogic.com
您当前位置:首页 > 国内资讯 > 正文国内资讯
MATLAB代做|FPGA代做|simulink代做——ML检测
添加时间:2020-8-27 来源:本站整理
function [Data_ML,ML_Const] = ML_Detector(T,Y,H,Const,ML_SearchSpace,Data_Seq,Sym_Seq_dB)

for i = 1:ML_SearchSpace    %ith sequence of transmitted symbols in the whole search space
    ML_Const(:,i) = H*(Sym_Seq_dB(i,:)).';
    Eu(i) = norm(Y - ML_Const(:,i) );      %Euclidean distance of ith sequence from received signal
end

[val index] = min(Eu);  %Sequence at the minimum distance

Data_ML = Data_Seq(index,:)';
Sym_ML = Const(Data_ML+1).'; %ML estimate of transmitted symbols
    
    

扫一扫,关注我们