⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anti_framelength.m

📁 此代码为RFID中防冲突算法固定帧ALOHA算法中的
💻 M
字号:
function f=anti_framelength(Nc,Nr,Nn,F)
n=1;
N=round(2*Nc+Nr+Nn);
e=anti_tagnum_aver(N,F);
while n>0
    %N=N1;
    
    N1=round(e*Nc+Nr+Nn);
    b=N1-N;
    c=abs(N1-N);
    if b>0
        f=N-Nc;
        n=n-1;
    else
        N==N1;
    end
end

⌨️ 快捷键说明

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