📄 outqueue.m
字号:
%
%Suppose always move the head out of the queue, and when it is moved out,
%we have the last element available(set it to be 0)!
%
function Q=OutQueue(Q,Qlen)
i=1;
while i<Qlen
Q(i)=Q(i+1);
i=i+1;
end
Q(Qlen)=0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -