logscl.m
来自「ofdm是比较常用的调制方式」· M 代码 · 共 21 行
M
21 行
%**************************************************************
%logscl: update the logarithmic quantizer scale factor in lower
%sub-band note that nbl is passed and returned
%**************************************************************%
function y=logscl(il,nbl)
table_set;
wd = floor(nbl * 127*(2^-7)); % leak factor 127/128 %
nbl = wd + wl_code_table(floor(il*0.25)+1);
if(nbl < 0)
nbl = 0;
else if(nbl > 18432)
nbl = 18432;
end;
end;
y=floor(nbl);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?