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