close all
clear all

path = 'X:\707976 EPBuoyPrototypeAndTesting\TestMachine\Test Data\March2_2012\';

files = dir([path 'D*']);


for i = 1:length(files)
      filename = [path files(i).name  '.mat'];
      load(filename);
      dt = diff(time);
      figure('Position',[54 129 1494 948]);
      plot(dt)
      xlabel('sample number');
      ylabel('dt (seconds)');
      title(filename);
      print('-dpdf',[path filename]);
      close all;
end   
