% example script to run a known-channel multi-user ISI problem
% using separate trellises for each user
% and soft estimates of the other users symbols
%
% R. Perry, June 2001

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

vit_init( L, M, N, Nv);

TYPE = 24;

% maybe iterate...

for t=1:N
  for u = 1:Nusers
    vit_update( u);
  end
end

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

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