%
% PURPOSE: Backdifference Altex time to reveal jitter.
% AUTHOR: Rob McEwen
% DATE: 98/12/1
%
  Ts = .02    % seconds
  szS = size(tdata);
  dimS = szS(1)-1;

  i=i+1;
  figure(i)
  clf
  set(gcf,'position',FigurePosn)
  plot(tS, [bdCTimeS bdCTimeS1]);
  grid on
  ylabel('Number of Sample Periods')
  title(['Backdifference Control of Time, in Integer Sample Periods',str]);

  return



  
  i=i+1;
  figure(i)
  clf
  set(gcf,'position',FigurePosn)
  plot(dataSim(2:szS,1), bdSTime/Ts);
  grid on
  axis([0 60 0 10])
  ylabel('Number of Sample Periods')
  title(['Backdifference of Simulation Time, in Integer Sample Periods',str]);

  i=i+1;
  figure(i)
  clf
  set(gcf,'position',FigurePosn)
  [tS, bdSTimeS] = stairs(dataSim(2:szS,1), bdSTime/Ts);
  plot(tS, bdSTimeS);
  grid on
  axis([2 5 0 10])
  ylabel('Number of Sample Periods')
  title(['Backdifference of Simulation Time, in Integer Sample Periods',str]);
