% Jessica Bradley 
% 3/15/2000
% Tests the sliding window track estimation

global estMar;
global WinMM;
global Winpath_index;
global Winel_index;
global Winperm_index;
global windowNum;
global WINDOW_DEBUG;

WINDOW = 1;	% see vit_tr()

if( isempty( WINDOW_DEBUG))
  WINDOW_DEBUG = 0;
end

if( ~exist('RANDOM') )
  disp( 'initializing rand() and randn() with TOD');
  rand( 'state', sum(100*clock));
  randn( 'state', sum(100*clock));
  RANDOM = 1;
end

estMar = [];

% Simulate the tracks
%
K=1;
onOff;
K=3
onOff;

% Choose window size:
%
tr_period = 5

% set L
%
L = 8

% Run Viterbi track estimation
%
vit;

estMar
