Last change
on this file was
951,
checked in by chunter, 16 years ago
|
adding matperf
|
-
Property svn:executable set to
*
|
File size:
486 bytes
|
Rev | Line | |
---|
[951] | 1 | load temp_matperf_data |
---|
| 2 | |
---|
| 3 | close all |
---|
| 4 | bandWidthMatrix = reshape(report.bandwidth,14,1); |
---|
| 5 | figure(1) |
---|
| 6 | plot(report.req_bandwidth(1:14).*1e-6,bandWidthMatrix.*1e-6,'-o','LineWidth',2) |
---|
| 7 | xlabel('Requested Bandwidth (Mbps)'); |
---|
| 8 | ylabel('Achieved Bandwidth (Mbps)'); |
---|
| 9 | axis tight |
---|
| 10 | %legend('200','400','600','800','1000','1200','1400') |
---|
| 11 | %legend('200','800','1400'); |
---|
| 12 | % figure(2) |
---|
| 13 | % percentage = 100 * (result.losses./result.totalpackets); |
---|
| 14 | % new_percentage = reshape(percentage, 20,4); |
---|
| 15 | % plot(new_percentage) |
---|
Note: See
TracBrowser
for help on using the repository browser.