Cosmetic changes in texinfo headers. Deleted trailing white spaces. Changed the value of show_time in the third internal test.

time-shift
Stéphane Adjemian (Charybdis) 2012-02-22 17:29:15 +01:00
parent 2a88e49f9f
commit 78fe29eeef
1 changed files with 16 additions and 16 deletions

View File

@ -2,11 +2,10 @@ function indx = traditional_resampling(weights,noise)
% Resamples particles.
%@info:
%! @deftypefn {Function File} {@var{indx} =} resample (@var{weights},@var{noise})
%! @deftypefn {Function File} {@var{indx} =} traditional_resampling (@var{weights},@var{noise})
%! @anchor{particle/traditional_resampling}
%! @sp 1
%! Resamples particles (Resampling à la Kitagawa or stratified resampling).
%!
%! @sp 2
%! @strong{Inputs}
%! @sp 1
@ -26,14 +25,15 @@ function indx = traditional_resampling(weights,noise)
%! @end table
%! @sp 2
%! @strong{This function is called by:}
%! @sp 1
%! @ref{particle/resample}
%! @sp 2
%! @strong{This function calls:}
%!
%! @sp 2
%! @end deftypefn
%@eod:
% Copyright (C) 2011 Dynare Team
% Copyright (C) 2011, 2012 Dynare Team
%
% This file is part of Dynare.
%
@ -145,7 +145,7 @@ end
%$ number_of_particles = 20000;
%$
%$ show_plot = 0;
%$ show_time = 0;
%$ show_time = 1;
%$
%$ % Define the weights
%$ weights = randn(number_of_particles,1).^2;