subordinatepass.m
来自「EZW算法的matlab代码」· M 代码 · 共 28 行
M
28 行
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 + -
显示快捷键?