How to compare results from three different programs together

조회 수: 1 (최근 30일)
sneha sharma
sneha sharma 2015년 12월 7일
답변: Thorsten 2015년 12월 7일
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)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by