How to compare results from three different programs together

I have three programs (attached below). each calculates delay. now i want to plot a graph between delay versus number of nodes(rows) from the three programs together and thus compare them. plz help....

답변 (1개)

Thorsten
Thorsten 2015년 12월 7일
nodes = 100; % or how many nodes you want
d1 = dtdma2(nodes);
d2 = stdma2(nodes);
d3 = csma2(nodes);
plot(1:nodes, d1, 1:nodes, d2, 1:nodes, d3)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2015년 12월 7일

답변:

2015년 12월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by