Telemetry Demo

Shows how to use Telemetry. Runs for 1000 steps. Loads the
TelemetryPages.mat file.
------------------------------------------------------------------------
See also Telemetry
------------------------------------------------------------------------
%-------------------------------------------------------------------------------
%   Copyright (c) 1999-2000, 2006 Princeton Satellite Systems, Inc.
%   All rights reserved.
%-------------------------------------------------------------------------------

tag = Telemetry( 'initialize', 'TelemetryPages' );

w = [1;0.1;0.01;0.003;0.004;2];
lW = length(w);

t = 0;
u = struct;

while( t < 1000 )
  t = t + 2;
  for j = 1:lW
    u.data(j) = sin(w(j)*t);
  end
  u.time = t;
  Telemetry( 'update', tag, u );
end


%--------------------------------------
% $Date$
% $Id: b3929b8f61fccc3ed1b66043cfb68766accfe270 $