📄 jitter_wys_net.m
字号:
function varargout = jitter_wys_net(h, eventdata, handles, varargin)
% trgraph
global C1 C2 C3 C7 C8 C9 C11 AKTWEZ NET HIST TRACEFORMAT MAC
HIST=0;
NET=1;
czyscosie;
[czy, opis]=czyopis('seq#', h, eventdata, handles);
if czy==0
typ=C11~=-1 & typstart(handles,0); % packet type
if TRACEFORMAT==1
wsp=C1=='-' & C3==C9 & typ & C8~=-2;
elseif TRACEFORMAT==2
if MAC==0
wsp4=send_mac_0;
elseif MAC==1
wsp4=C1=='s' & C7~=-3;
end
wsp=wsp4 & typ & C7~=-1;
end
if isempty(find(wsp))
hplot=wykrespusty(handles);
else
time=C2(wsp);
seq=C11(wsp);
s=seq;
seq=seq(2:end)-seq(1:(end-1));
if isempty(seq)==0
seq(seq==0)=1;
y=time(2:end)-time(1:(end-1));
y=y./seq;
s=s(2:end);
[hplot,s,y]=rysuj(s, y,handles);
zapisz_wykres([s, y], opis, handles);
else
hplot=wykrespusty(handles);
zapisz_wykres(0, opis, handles);
end
end
plot_info(opis, eventdata, hplot, handles);
xylabel('sequence number','jitter of sent packet [sec]', hplot, handles);
end
zapisz_wykres_jpg(opis,handles);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -