% example script to run a known-channel multi-user ISI problem
% using separate independent trellises for each user
%
% R. Perry, June 2001

TYPE = 22;

%%%
%%
% run Viterbi
%
L = 1;
Nv = Nusers;

% vit_init( L, M, N, Nv); % or:
  vit1_init( M, N, Nv);

% update each trellis independently
%
for u = 1:Nusers
  for t=1:N
%   vit_update( u); % or:
    vit1_update( u);
  end
end

% get results
%
ex = zeros( N, L, Nusers);

for u = 1:Nusers
%  paths = vit_paths( u); % or:
   paths = vit1_paths( u);
  ex(:,:,u) = get_ex( paths);
end
