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

📄 numtoqar.m

📁 压缩文件中是Error Correction Coding - Mathematical Methods and Algorithms(Wiley 2005)作者:(Todd K. Moon )的配
💻 M
字号:
function x = numtoQar(xint,Q,Neval,varlist,Nvar)% given a number xint which represents a base-Q representation% of a number with Neval digits, find the base-Q representation.  The % varlist indicates which positions the% digits should go into, out of a possible set of Nvar.% The least significant bits are placed in the variable positions% listed FIRST in varlistx = zeros(1,Nvar);for i=1:Neval  d = mod(xint,Q);  xint = floor(xint/Q);  x(varlist(i)) = d;end

⌨️ 快捷键说明

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