⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fyx0.m

📁 压缩文件中是Error Correction Coding - Mathematical Methods and Algorithms(Wiley 2005)作者:(Todd K. Moon )的配
💻 M
字号:
function f = fyx0(x,ysigma2)% compute f(y|x)% the value of x is a 0 (meaning a -1 is sent)% or a 1 (meaning a 1 is sent)% The argument ysigma2 is an array of "auxiliary" values, % ysigma2(1) = y value,% ysigma2(2) = sigma^2% ysigma2(3) = a% Copyright 2004 by Todd K. Moon% Permission is granted to use this program/data% for educational/research onlyy = ysigma2(1);sigma2 = ysigma2(2);a = ysigma2(3);if(x==0)   f = exp(-1/(2*sigma2)*(y+a)^2);elseif(x==1)   f = exp(-1/(2*sigma2)*(y-a)^2);end

⌨️ 快捷键说明

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