1 Star 0 Fork 1

xiaodangshan/DNN-fading-channel

forked from zhoub86/DNN-fading-channel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mldec.m 230 Bytes
一键复制 编辑 原始数据 按行查看 历史
sunghlim 提交于 2019-05-08 08:50 +08:00 . Add files via upload
% ML decoding function
function [Dec, idx]= mldec(y,C)
L = size(C,2);
if(L~=length(y))
error('Codewords need to be the same length as y!');
end
[~, idx] = min(sum(((2*C-1)-repmat(y,size(C,1),1)).^2,2));
Dec = C(idx,:);
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenxuanlut/DNN-fading-channel.git
git@gitee.com:chenxuanlut/DNN-fading-channel.git
chenxuanlut
DNN-fading-channel
DNN-fading-channel
master

搜索帮助