%
% file:      	ethernet_plot.m, (c) Matthew Roughan, Mon Sep 20 2004
% directory:   /home/roughan/data/W_ethernet/
% created: 	Mon Sep 20 2004 
% author:  	Matthew Roughan 
% email:   	matthew.roughan@adelaide.edu.au
% 
% place help info about ETHERNET_PLOT here
%
%
file = 'OctExt4.dat';
[time, bytes, packets] = textread(file, '%f %f %f');

figure(1)
plot(time, bytes);

y = fft(bytes - mean(bytes));
figure(2);
loglog(2:length(y)/2, abs(y(2:end/2)).^2);

