?? subordinatepass.m
字號:
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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -