checkchildren.m

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

M
4
字号
function   [RR]=checkchildren(j,RR)
set(0,'RecursionLimit',10000);
% if a symbol 't' is encounted, then make all its descendants in reference  
% matrix RR's components equal 1---ZEROTREES
global N
[m,n]=size(N);
for i=(4*j-3):4*j;
    if  i<=m, 
        RR(N(i,1),N(i,2))=1;
        [RR]=checkchildren(i,RR);
    end
end;

   



⌨️ 快捷键说明

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