subordinatepass.m

来自「EZW implementation which will use wavele」· M 代码 · 共 8 行

M
8
字号
function S = subordinatepass(sublist,threshold) 
S=[];
[m,n]=size(sublist);
for i=1:n;
     if bitand(round(sublist(1,i)),threshold)==threshold,%
%    if sublist(1,i)>=threshold,
         S=[S,1];
%        sublist(1,i)=sublist(1,i)-threshold;
    else S=[S,0]; 
    end
end

 

 

 

     

         



⌨️ 快捷键说明

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