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 日

0 投票

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 Exchange2-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