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

📄 qf.m

📁 压缩文件中是Error Correction Coding - Mathematical Methods and Algorithms(Wiley 2005)作者:(Todd K. Moon )的配
💻 M
字号:
function p = qf(xlist)% % Compute the Q function:%% function p = qf(x)%   p = 1/sqrt(2pi)int_x^infty exp(-t^2/2)dt% Vector arguments are allowed.% Copyright 2004 by Todd K. Moon% Permission is granted to use this program/data% for educational/research onlyp = zeros(size(xlist));i = 0;for x = xlist  i = i+1;  if(x < 0)	p(i) = 1- 0.5*erfc(-x/sqrt(2));  else	p(i) = 0.5*erfc(x/sqrt(2));  endend

⌨️ 快捷键说明

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